Skip to content

Commit f3903a4

Browse files
authored
chore: update stalebot
The OG stalebot seemed to crash out.
1 parent 6c6cb65 commit f3903a4

File tree

1 file changed

+34
-20
lines changed

1 file changed

+34
-20
lines changed

.github/stale.yml

Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
1-
# Number of days of inactivity before an issue becomes stale
2-
daysUntilStale: 14
3-
# Number of days of inactivity before a stale issue is closed
4-
daysUntilClose: 7
5-
# Issues with these labels will never be considered stale
6-
exemptLabels:
7-
- pinned
8-
- security
9-
- not-stale
10-
# Label to use when marking an issue as stale
11-
staleLabel: stale
12-
# Comment to post when marking an issue as stale. Set to `false` to disable
13-
markComment: >
14-
This issue has been automatically marked as idle and stale because it hasn't
15-
had any recent activity. It will be automtically closed if no further activity
16-
occurs. If you think this is wrong, or the problem still persists, just pop
17-
a reply in the comments and @remy will (try!) to follow up.
1+
name: Mark stale issues and pull requests
182

19-
Thank you for contributing <3
20-
# Comment to post when closing a stale issue. Set to `false` to disable
21-
closeComment: false
3+
on:
4+
schedule:
5+
- cron: "0 * * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
15+
steps:
16+
- uses: actions/stale@v3
17+
with:
18+
repo-token: ${{ secrets.GITHUB_TOKEN }}
19+
days-before-stale: 14
20+
days-before-close: 30
21+
days-before-pr-close: -1
22+
stale-issue-label: 'stale'
23+
stale-pr-label: 'stale'
24+
stale-issue-message: >
25+
This issue has been automatically marked as idle and stale because it hasn't
26+
had any recent activity. It will be automtically closed if no further activity
27+
occurs. If you think this is wrong, or the problem still persists, just pop
28+
a reply in the comments and @remy will (try!) to follow up.
29+
30+
Thank you for contributing <3
31+
close-issue-message: 'Automatically closing this issue due to lack of activity'
32+
exempt-issue-labels:
33+
- not-stale
34+
- security
35+
- pinned

0 commit comments

Comments
 (0)