8000 Restrict GITHUB_TOKEN permissions for the 'stale' workflow (GH-25564) · python/cpython@4819940 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4819940

Browse files
authored
Restrict GITHUB_TOKEN permissions for the 'stale' workflow (GH-25564)
It should only need write-level permissions to pull requests.
1 parent 5e437fb commit 4819940

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/stale.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
schedule:
55
- cron: "0 0 * * *"
66

7+
permissions:
8+
pull-requests: write
9+
710
jobs:
811
stale:
912

0 commit comments

Comments
 (0)
0