Skip to content

Commit 9357a37

Browse files
ci(stale): fix permission for stale action and allow manual run
As documented at: https://github.com/actions/stale it requires the "actions: write" permission. Also allow manually running the stale action.
1 parent 2981730 commit 9357a37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/stale.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ name: 'Close stale issues and PRs'
33
on:
44
schedule:
55
- cron: '30 1 * * *'
6+
workflow_dispatch: # For manual runs
67

78
permissions:
89
issues: write
910
pull-requests: write
11+
actions: write
1012

1113
concurrency:
1214
group: lock

0 commit comments

Comments
 (0)