Skip to content

Commit

Permalink
Restrict TagBot permissions (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
omus authored Jul 23, 2024
1 parent 69a26a6 commit 4175e27
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ on:
inputs:
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' }}
runs-on: ubuntu-latest
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
steps:
- uses: JuliaRegistries/TagBot@v1
with:
Expand Down

0 comments on commit 4175e27

Please sign in to comment.