Restrict GITHUB_TOKEN permissions for the 'stale' workflow (GH-25564)

It should only need write-level permissions to pull requests.
This commit is contained in:
Brett Cannon 2021-04-23 15:18:50 -07:00 committed by GitHub
parent 5e437fb872
commit 481994078f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ on:
schedule:
- cron: "0 0 * * *"
permissions:
pull-requests: write
jobs:
stale: