Skip to content

Commit e91f635

Browse files
authored
Update stale action (#126)
- Add workflow_dispatch - Add permissions section - Add close-issue-reason
1 parent 0a8df00 commit e91f635

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,15 +1,21 @@
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 ntJoin!'
1318
days-before-stale: 30
1419
days-before-close: 5
1520
remove-stale-when-updated: true
21+
close-issue-reason: completed

0 commit comments

Comments
 (0)