Skip to content

Commit 31fed96

Browse files
authored
Add permissions for pull-requests in stale workflow
Added permissions for pull-requests to allow commenting and labeling.
1 parent 7f5a1f6 commit 31fed96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/stale.yaml

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

7+
permissions:
8+
pull-requests: write # Required to comment on, label, and close PRs
9+
710
jobs:
811
stale:
912

0 commit comments

Comments
 (0)