Skip to content

Commit

Permalink
Restrict GITHUB_TOKEN permissions for the 'stale' workflow (GH-25564)
Browse files Browse the repository at this point in the history
It should only need write-level permissions to pull requests.
  • Loading branch information
brettcannon authored Apr 23, 2021
1 parent 5e437fb commit 4819940
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
pull-requests: write

jobs:
stale:

Expand Down

0 comments on commit 4819940

Please sign in to comment.