mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
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:
parent
5e437fb872
commit
481994078f
1 changed files with 3 additions and 0 deletions
3
.github/workflows/stale.yml
vendored
3
.github/workflows/stale.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue