Skip to content

Commit ead9a0d

Browse files
committed
Replace the defunct stale bot with actions/stale
1 parent e95d2af commit ead9a0d

File tree

2 files changed

+42
-62
lines changed

2 files changed

+42
-62
lines changed

.github/stale.yml

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

.github/workflows/stale.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Close inactive issues and pull requests
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
jobs:
7+
close-issues:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v9
14+
with:
15+
days-before-issue-stale: 30
16+
days-before-issue-close: 30
17+
stale-issue-label: "stale"
18+
exempt-issue-labels:
19+
- "high priority"
20+
- "good first issue"
21+
- "pinned"
22+
stale-issue-message: >-
23+
This issue has been automatically marked as stale because it has not
24+
had any recent activity. It will be closed soon if no further
25+
activity occurs. Thank you for your contribution and understanding!
26+
close-issue-message: >-
27+
This issue been automatically closed due to lack of activity. Feel free to re-open it
28+
if you ever come back to it.
29+
days-before-pr-stale: 30
30+
days-before-pr-close: 30
31+
exempt-pr-labels:
32+
- "high priority"
33+
- "good first issue"
34+
- "pinned"
35+
stale-pr-message: >-
36+
This pull request has been automatically marked as stale because it has not
37+
had any recent activity. It will be closed soon if no further
38+
activity occurs. Thank you for your contribution and understanding!
39+
close-pr-message: >-
40+
This issue been automatically closed due to lack of activity. Feel free to re-open it
41+
if you ever come back to it.
42+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)