Skip to content

Commit a03412a

Browse files
authored
Update stale action to version 10 and add permissions (#497)
1 parent 4358a59 commit a03412a

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 ABySS!'
1318
days-before-stale: 21
1419
days-before-close: 7
1520
exempt-issue-labels: 'gsoc-outreachy,help wanted,in progress'
21+
close-issue-reason: completed

0 commit comments

Comments
 (0)