Skip to content

Commit 5e0665b

Browse files
committed
add stale action
1 parent b7690c3 commit 5e0665b

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 💤 Stale
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0' # Weekly
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
actions: write
12+
contents: write # only for delete-branch option
13+
issues: write
14+
pull-requests: write
15+
steps:
16+
- uses: actions/stale@v10
17+
with:
18+
days-before-stale: 90
19+
days-before-close: 7
20+
stale-issue-label: "Status: Stale"
21+
stale-pr-label: "Status: Stale"
22+
stale-issue-message: >
23+
This issue has been automatically marked as stale because it has not
24+
had recent activity. It will be closed in 7 days if no further
25+
activity occurs. Thank you for your contributions!
26+
stale-pr-message: >
27+
This pull request has been automatically marked as stale due to
28+
inactivity. It will be closed in 7 days if no further activity
29+
occurs. Please update if you wish to keep it open.
30+
close-issue-message: >
31+
This issue has been automatically closed due to inactivity. If you
32+
think this is a mistake or would like to continue the discussion,
33+
please comment or feel free to reopen it.
34+
close-pr-message: >
35+
This pull request has been automatically closed due to inactivity.
36+
If you think this is a mistake or would like to continue working on
37+
it, please comment or feel free to reopen it.
38+
close-issue-label: "Status: Abandoned"
39+
close-pr-label: "Status: Abandoned"
40+
exempt-issue-labels: "Status: Abandoned"
41+
exempt-pr-labels: "Status: Abandoned"

0 commit comments

Comments
 (0)