Browse Source

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

It should only need write-level permissions to pull requests.
pull/25567/head
Brett Cannon 5 years ago
committed by GitHub
parent
commit
481994078f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/stale.yml

3
.github/workflows/stale.yml

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

Loading…
Cancel
Save