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

View file

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