Skip to content

Commit 70288a7

Browse files
chore: Enable stalebot (#1608)
There are quite a few PRs and issues that remain open without any activity. This PR introduces stalebot to do some housekeeping for us.
1 parent a0b535f commit 70288a7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/stale.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Mark stale issues and pull requests
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@v9
14+
name: Clean up stale issues and PRs
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
stale-issue-message: "👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the `keep` label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot."
18+
stale-issue-label: "stale"
19+
exempt-issue-labels: "keep"
20+
days-before-issue-stale: 30
21+
days-before-issue-close: 30
22+
stale-pr-message: "👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the `keep` label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot"
23+
stale-pr-label: "stale"
24+
exempt-pr-labels: "keep"
25+
days-before-pr-stale: 30
26+
days-before-pr-close: 30

0 commit comments

Comments
 (0)