Skip to content

Commit dd54dff

Browse files
chore: add stale bot github action (#713)
1 parent 9e4dbbf commit dd54dff

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/stale.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Mark and close stale issues
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
# The number of days old an issue can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically.
17+
days-before-stale: 21
18+
# The number of days to wait to close an issue or pull request after it being marked stale. Set to -1 to never close stale issues.
19+
days-before-close: 30
20+
# The message to post on the issue when tagging it. If none provided, will not mark issues stale.
21+
stale-issue-message: >
22+
Hi everyone!
23+
Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion.
24+
Inactive issues will be closed after 30 days. Thanks.
25+
# The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
26+
close-issue-message: >
27+
Hey there, it's me again!
28+
I am going close this issue to help our maintainers focus on the current development roadmap instead.
29+
If the issue mentioned is still a concern, please open a new ticket and mention this old one.
30+
# The labels to apply when an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2")
31+
exempt-issue-labels: 'good first issue,todo'

0 commit comments

Comments
 (0)