Skip to content

Commit d3261df

Browse files
author
Luca Forstner
authored
meta: Add stale bot (#189)
1 parent ae0a9cf commit d3261df

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/stale.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: "close stale issues/PRs"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
workflow_dispatch:
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b
11+
with:
12+
repo-token: ${{ github.token }}
13+
days-before-stale: 21
14+
days-before-close: 7
15+
only-labels: ""
16+
operations-per-run: 100
17+
remove-stale-when-updated: true
18+
debug-only: false
19+
ascending: false
20+
21+
exempt-issue-labels: "Status: Backlog,Status: In Progress"
22+
stale-issue-label: "Status: Stale"
23+
stale-issue-message: |-
24+
This issue has gone three weeks without activity. In another week, I will close it.
25+
26+
But! If you comment or otherwise update it, I will reset the clock, and if you label it `Status: Backlog` or `Status: In Progress`, I will leave it alone ... forever!
27+
28+
----
29+
30+
"A weed is but an unloved flower." ― _Ella Wheeler Wilcox_ 🥀
31+
close-issue-label: ""
32+
close-issue-message: ""
33+
34+
exempt-pr-labels: "Status: Backlog,Status: In Progress"
35+
stale-pr-label: "Status: Stale"
36+
stale-pr-message: |-
37+
This pull request has gone three weeks without activity. In another week, I will close it.
38+
39+
But! If you comment or otherwise update it, I will reset the clock, and if you label it `Status: Backlog` or `Status: In Progress`, I will leave it alone ... forever!
40+
41+
----
42+
43+
"A weed is but an unloved flower." ― _Ella Wheeler Wilcox_ 🥀
44+
close-pr-label:
45+
close-pr-message: ""

0 commit comments

Comments
 (0)