Skip to content

Commit fe95a9a

Browse files
Add stale workflow (#2149)
1 parent 3fddf8a commit fe95a9a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Stale issues and PRs'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
# UTC noon every workday
6+
- cron: '0 12 * * MON-FRI'
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@v9
16+
with:
17+
stale-issue-label: 'stale'
18+
stale-pr-label: 'stale'
19+
stale-issue-message: 'This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups.'
20+
close-issue-message: 'This issue was closed because it has been stalled for 45 days with no activity.'
21+
stale-pr-message: 'This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.'
22+
days-before-stale: 45
23+
days-before-close: 45
24+
days-before-pr-close: -1
25+
exempt-all-milestones: true
26+
exempt-issue-labels: good first issue,good second issue,persistent,release,roadmap,Epic
27+
operations-per-run: 100

0 commit comments

Comments
 (0)