diff options
| author | Brett Cannon <brett@python.org> | 2021-04-23 15:18:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 15:18:50 -0700 |
| commit | 481994078fbf61317fe35456e9a1b8a960e7dfa0 (patch) | |
| tree | 1eb73daf3dd8b5172d29abbdc756cc3852b953ff | |
| parent | 5e437fb872279960992c9a07f1a4c051b4948c53 (diff) | |
| download | cpython-git-481994078fbf61317fe35456e9a1b8a960e7dfa0.tar.gz | |
Restrict GITHUB_TOKEN permissions for the 'stale' workflow (GH-25564)
It should only need write-level permissions to pull requests.
| -rw-r--r-- | .github/workflows/stale.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 58c9a4f21c..26806fad81 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -4,6 +4,9 @@ on: schedule: - cron: "0 0 * * *" +permissions: + pull-requests: write + jobs: stale: |
