Skip to content

Commit a84d4e4

Browse files
committedFeb 11, 2025·
Add stale action for issues and PRs
1 parent d36bfb4 commit a84d4e4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
 

‎.github/workflows/stale.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Stale
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
jobs:
6+
stale:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/stale@v9
10+
with:
11+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions!'
12+
stale-issue-label: 'stale'
13+
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions!'
14+
close-pr-message: 'This PR has been automatically closed due to lack of recent activity, but feel free to reopen it as long as you merge in the main branch afterwards.'
15+
exempt-issue-labels: 'bug,enhancement,compatibility'
16+
exempt-pr-labels: 'breaking change'
17+
exempt-draft-pr: true
18+
exempt-all-milestones: true
19+
exempt-all-assignees: true
20+
days-before-issue-stale: 30
21+
days-before-pr-stale: 60
22+
days-before-close: 7

0 commit comments

Comments
 (0)