Skip to content

Commit 436a9e8

Browse files
authored
Update stale action to version 10 and add permissions (#37)
1 parent 2b95e50 commit 436a9e8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/stale.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
name: 'Close stale issues and PRs'
22
on:
3+
workflow_dispatch:
34
schedule:
45
- cron: '30 1 * * *'
56

7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
611
jobs:
712
stale:
813
runs-on: ubuntu-latest
914
steps:
10-
- uses: actions/stale@v4
15+
- uses: actions/stale@v10
1116
with:
1217
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your interest in RAILS and Cobbler!'
1318
days-before-stale: 30
1419
days-before-close: 5
20+
close-issue-reason: completed

0 commit comments

Comments
 (0)