Clean up workflows
This commit is contained in:
@@ -17,9 +17,11 @@ on:
|
||||
# Only trigger for failures - check in the workflow body
|
||||
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||
|
||||
permissions: read-all
|
||||
|
||||
network: defaults
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
issues: read
|
||||
checks: read
|
||||
|
||||
safe-outputs:
|
||||
create-issue:
|
||||
|
||||
@@ -14,7 +14,10 @@ network:
|
||||
- rust
|
||||
- java
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
issues: read
|
||||
|
||||
tracker-id: code-simplifier
|
||||
|
||||
|
||||
@@ -22,8 +22,6 @@ permissions:
|
||||
tools:
|
||||
github:
|
||||
toolsets: [default]
|
||||
edit:
|
||||
bash: true
|
||||
|
||||
timeout-minutes: 30
|
||||
|
||||
|
||||
@@ -15,8 +15,6 @@ permissions:
|
||||
issues: read
|
||||
pull-requests: read
|
||||
|
||||
network: defaults
|
||||
|
||||
tools:
|
||||
github:
|
||||
# If in a public repo, setting `lockdown: false` allows
|
||||
|
||||
@@ -16,8 +16,6 @@ permissions:
|
||||
issues: read
|
||||
pull-requests: read
|
||||
|
||||
network: defaults
|
||||
|
||||
tools:
|
||||
github:
|
||||
min-integrity: none # This workflow is allowed to examine and comment on any issues
|
||||
|
||||
@@ -20,7 +20,14 @@ on:
|
||||
|
||||
timeout-minutes: 30
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
issues: read
|
||||
pull-requests: read
|
||||
checks: read
|
||||
actions: read
|
||||
discussions: read
|
||||
security-events: read
|
||||
|
||||
network:
|
||||
allowed:
|
||||
@@ -57,7 +64,6 @@ safe-outputs:
|
||||
|
||||
tools:
|
||||
web-fetch:
|
||||
bash: true
|
||||
github:
|
||||
toolsets: [all]
|
||||
repo-memory: true
|
||||
|
||||
@@ -12,9 +12,9 @@ on:
|
||||
types: [opened, reopened]
|
||||
reaction: eyes
|
||||
|
||||
permissions: read-all
|
||||
|
||||
network: defaults
|
||||
permissions:
|
||||
contents: read
|
||||
issues: read
|
||||
|
||||
safe-outputs:
|
||||
add-labels:
|
||||
|
||||
+6
-4
@@ -12,13 +12,15 @@ on:
|
||||
name: pr-fix
|
||||
reaction: "eyes"
|
||||
|
||||
permissions: read-all
|
||||
|
||||
network: defaults
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
actions: read
|
||||
checks: read
|
||||
issues: read
|
||||
|
||||
tools:
|
||||
web-fetch:
|
||||
bash: true
|
||||
github:
|
||||
min-integrity: none # This workflow is allowed to examine any PR because it's invoked by a repo maintainer
|
||||
|
||||
|
||||
@@ -23,7 +23,14 @@ on:
|
||||
|
||||
timeout-minutes: 60
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
issues: read
|
||||
pull-requests: read
|
||||
checks: read
|
||||
actions: read
|
||||
discussions: read
|
||||
security-events: read
|
||||
|
||||
network:
|
||||
allowed:
|
||||
@@ -43,7 +50,6 @@ tools:
|
||||
github:
|
||||
toolsets: [all]
|
||||
min-integrity: none # This workflow is allowed to examine and comment on any issues or PRs
|
||||
bash: true
|
||||
repo-memory: true
|
||||
|
||||
safe-outputs:
|
||||
|
||||
Reference in New Issue
Block a user