Skip to content

Commit 8972982

Browse files
authored
Replace Stalebot with actions/stale (#2276)
1 parent 3dd675f commit 8972982

File tree

2 files changed

+34
-21
lines changed

2 files changed

+34
-21
lines changed

.github/stale.yml

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

.github/workflows/stale.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Close stale issues"
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v3
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
days-before-stale: 21
15+
days-before-close: 7
16+
exempt-issue-labels: 'discussion,pinned,epic,enhancement,beginner friendly'
17+
stale-issue-label: abandoned
18+
stale-issue-message: >
19+
This issue has been automatically marked as `abandoned`
20+
because it has not had recent activity. It will be closed if no
21+
further activity occurs. Thank you
22+
for your contributions.
23+
close-issue-message: >
24+
Closing stale issue. If this issue is still relevant,
25+
please reopen it.
26+
exempt-pr-labels: 'pinned,enhancement,awaiting review'
27+
stale-pr-label: abandoned
28+
stale-pr-message: >
29+
This pull request has been automatically marked as `abandoned`
30+
because it has not had recent activity. It will be closed if no
31+
further activity occurs. Thank you for your contributions.
32+
close-pr-message: >
33+
Closing stale pull request. If you are still working on this,
34+
please reopen this pull request.

0 commit comments

Comments
 (0)