Skip to content

Commit 7e1e104

Browse files
authored
Update stale.yml to use actions/stale@v10 (#109)
Updated the stale action version and added close issue reason.
1 parent 7fa9687 commit 7e1e104

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,17 +1,23 @@
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 ntLink!'
1318
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.'
1419
days-before-stale: 30
1520
days-before-close: 5
1621
exempt-issue-labels: 'enhancement,bug'
1722
exempt-pr-labels: 'enhancement,bug'
23+
close-issue-reason: completed

0 commit comments

Comments
 (0)