Skip to content

Commit 60a8f43

Browse files
committed
Use new action for stale isues and prs instead of the deprecated stalebot
1 parent c3de378 commit 60a8f43

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

.github/stale.yml

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

.github/workflows/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Manage stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
6+
permissions:
7+
contents: read
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v9
16+
with:
17+
stale-issue-message: 'This issue was automatically marked as stale because it has been sitting there for 14 days without activity. It will be closed in 14 days if no further activity occurs.'
18+
stale-pr-message: 'This PR was automatically marked as stale it has been open 30 days with no activity. Please review/update/merge this PR.'
19+
close-issue-message: 'This issue was automatically closed because it has not seen any activity in four weeks. This happens usually when the issue has already been solved or it is no longer relevant. If this is not the case, feel free to reopen the issue.'
20+
stale-issue-label: 'stale'
21+
stale-pr-label: 'stale'
22+
days-before-issue-stale: 14
23+
days-before-issue-close: 14
24+
days-before-pr-stale: 30
25+
days-before-pr-close: -1
26+
exempt-issue-labels: 'hotfix-needed,bug,enhancement,help-wanted,release-candidate'
27+
exemplt-pr-labels: 'hotfix-needed,bug,enhancement,help-wanted,release-candidate'

0 commit comments

Comments
 (0)