Skip to content

Commit d02400d

Browse files
committed
Stale bot is now Stale GitHub Action.
1 parent 12ca4e7 commit d02400d

File tree

3 files changed

+35
-59
lines changed

3 files changed

+35
-59
lines changed

.github/stale.yml

-57
This file was deleted.

.github/workflows/stale.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Close inactive issues
3+
'on':
4+
schedule:
5+
- cron: "55 9 * * 5" # semi-random time
6+
7+
jobs:
8+
close-issues:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
steps:
14+
- uses: actions/stale@v8
15+
with:
16+
days-before-stale: 120
17+
days-before-close: 60
18+
exempt-issue-labels: bug,pinned,security,planned
19+
exempt-pr-labels: bug,pinned,security,planned
20+
stale-issue-label: "stale"
21+
stale-pr-label: "stale"
22+
stale-issue-message: |
23+
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
24+
25+
Please read [this blog post](https://www.jeffgeerling.com/blog/2020/enabling-stale-issue-bot-on-my-github-repositories) to see the reasons why I mark issues as stale.
26+
close-issue-message: |
27+
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
28+
stale-pr-message: |
29+
This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
30+
31+
Please read [this blog post](https://www.jeffgeerling.com/blog/2020/enabling-stale-issue-bot-on-my-github-repositories) to see the reasons why I mark issues as stale.
32+
close-pr-message: |
33+
This pr has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
34+
repo-token: ${{ secrets.GITHUB_TOKEN }}

.yamllint

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ rules:
77
level: warning
88

99
ignore: |
10-
.github/stale.yml
11-
.travis.yml
10+
.github/workflows/stale.yml

0 commit comments

Comments
 (0)