Skip to content

Commit

Permalink
Reduce scope of permissions in stale workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Derek McGowan <[email protected]>
  • Loading branch information
dmcgowan committed Jun 17, 2024
1 parent 27de5fe commit 531da99
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ on:
paths:
- '.github/workflows/stale.yml'

permissions:
issues: write
pull-requests: write
permissions: read-all

jobs:
stale:
runs-on: ubuntu-latest

permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v9
# All stale bot options: https://github.com/actions/stale#all-options
Expand Down

0 comments on commit 531da99

Please sign in to comment.