Skip to content

Commit

Permalink
example.yml: explicitly list out all of the different scopes in the…
Browse files Browse the repository at this point in the history
… `permissions` key (#245)
  • Loading branch information
DilumAluthge authored Nov 6, 2022
1 parent f30e987 commit 9d8d219
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,18 @@ on:
lookback:
default: 3
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand Down
11 changes: 11 additions & 0 deletions example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@ on:
lookback:
default: 3
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand Down

0 comments on commit 9d8d219

Please sign in to comment.