Skip to content

Commit 48faea3

Browse files
authored
Set up workflow tracking stale issues.
1 parent 3184249 commit 48faea3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/stale.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Track Stale Issues
7+
8+
on:
9+
schedule:
10+
- cron: '33 6 * * *'
11+
12+
permissions: read-all
13+
14+
jobs:
15+
stale:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
issues: write
19+
pull-requests: write
20+
21+
steps:
22+
- uses: actions/stale@v5
23+
with:
24+
days-before-stale: 90
25+
days-before-close: 30
26+
stale-issue-message: 'No activity with issue for 90 days.'
27+
stale-pr-message: 'No activity with pull request for 90 days.'
28+
stale-issue-label: 'stale'
29+
stale-pr-label: 'stale'
30+
close-issue-message: 'No activity for 120 days. Will not fix.'
31+
close-pr-message: 'No activity for 120 days. Will not merge.'
32+
close-issue-label: 'wontfix'
33+
close-pr-label: 'wontfix'

0 commit comments

Comments
 (0)