Skip to content

Commit fbbc979

Browse files
committed
Update stale workflow.
1 parent a3b595f commit fbbc979

File tree

2 files changed

+34
-56
lines changed

2 files changed

+34
-56
lines changed

.github/stale.yml

-56
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 23 * * 4" # 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 }}

0 commit comments

Comments
 (0)