Skip to content

Commit a8d91b3

Browse files
committed
Modernize stale.yml
1 parent 10aaac7 commit a8d91b3

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed

.github/stale.yml

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

.github/workflows/stale.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Configuration for close-stale-issues - https://github.com/marketplace/actions/close-stale-issues
2+
3+
name: 'Close stale issues'
4+
on:
5+
schedule:
6+
- cron: '00 09 * * *'
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
steps:
15+
- uses: actions/stale@v8
16+
with:
17+
days-before-stale: 180
18+
days-before-close: 30
19+
exempt-issue-labels: 'security-issue,feature-request,upstream-bug,more-information-needed,blocked,confirmed'
20+
exempt-all-milestones: true
21+
stale-issue-label: 'state:stale'
22+
stale-pr-label: 'state:stale'
23+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
24+
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'

0 commit comments

Comments
 (0)