Skip to content

Commit 8f0eef9

Browse files
committed
Stale bot is now Stale GitHub Action.
1 parent 2000f55 commit 8f0eef9

File tree

3 files changed

+35
-58
lines changed

3 files changed

+35
-58
lines changed

.github/stale.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 34 additions & 0 deletions
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 20 * * 6" # 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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ rules:
77
level: warning
88

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

0 commit comments

Comments
 (0)