Skip to content

Commit 957b610

Browse files
committed
adds stale bot
1 parent 5c3c92f commit 957b610

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/schedule-stale.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
on:
2+
schedule:
3+
- cron: "0 */12 * * *"
4+
name: Stale Bot workflow
5+
jobs:
6+
build:
7+
name: stale
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: stale
11+
id: stale
12+
uses: actions/stale@v3
13+
with:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
DAYS_BEFORE_STALE: 20
16+
DAYS_BEFORE_CLOSE: 10
17+
OPERATIONS_PER_RUN: 5000
18+
STALE_ISSUE_MESSAGE: |
19+
Hey there!
20+
This issue has
21+
Hiya!
22+
This issue has gone quiet. Spooky quiet. 👻
23+
We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here.
24+
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
25+
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out [gatsby.dev/contribute](https://www.gatsbyjs.org/contributing/how-to-contribute/) for more information about opening PRs, triaging issues, and contributing!
26+
Thanks for being a part of the Gatsby community! 💪💜
27+
CLOSE_MESSAGE: |
28+
Hey again!
29+
It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it.
30+
Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m `HUMAN_EMOTION_SORRY`. Please feel free to reopen this issue or create a new one if you need anything else.
31+
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out [gatsby.dev/contribute](https://www.gatsbyjs.org/contributing/how-to-contribute/) for more information about opening PRs, triaging issues, and contributing!
32+
Thanks again for being part of the Gatsby community! 💪💜
33+
EXEMPT_ISSUE_LABELS: |
34+
not stale

0 commit comments

Comments
 (0)