Skip to content

Commit a01f0f1

Browse files
authored
Create stale-bot.yml
1 parent 444bc1e commit a01f0f1

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/stale-bot.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '0 1,13 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
# https://github.com/actions/stale
11+
- uses: actions/stale@v9
12+
with:
13+
# global config
14+
operations-per-run: 300
15+
days-before-stale: 30
16+
days-before-close: 90
17+
# issue specific config
18+
stale-issue-label: 'wontfix'
19+
stale-issue-message: >
20+
This issue has been automatically marked as stale because it has not had
21+
recent activity. It will be closed if no further activity occurs. Thank you
22+
for your contributions.
23+
close-issue-message: 'Closing this due to being stale.'
24+
# pull request specific config
25+
exempt-pr-labels: 'dependencies'
26+
stale-pr-label: 'wontfix'
27+
stale-pr-message: >
28+
This pull request has been automatically marked as stale because it has not had
29+
recent activity. It will be closed if no further activity occurs. Thank you
30+
for your contributions.
31+
close-pr-message: 'Closing this due to being stale.'
32+
delete-branch: true

0 commit comments

Comments
 (0)