Skip to content

Commit b261294

Browse files
committed
ci: add stale.yml (Issues/PRs nach 30d stale, nach 37d auto-close)
1 parent 47542de commit b261294

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: 'Stale Issues & PRs'
2+
3+
on:
4+
schedule:
5+
- cron: '30 1 * * *' # Daily at 01:30 UTC
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
jobs:
13+
stale:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/stale@v9
17+
with:
18+
stale-issue-message: >
19+
This issue has been automatically marked as stale because it has not had
20+
recent activity. It will be closed in 7 days if no further activity occurs.
21+
If this is still relevant, please comment or remove the stale label.
22+
stale-pr-message: >
23+
This pull request has been automatically marked as stale because it has not had
24+
recent activity. It will be closed in 7 days if no further activity occurs.
25+
If this is still relevant, please comment or remove the stale label.
26+
close-issue-message: >
27+
This issue was closed because it has been stale for 7 days with no activity.
28+
Feel free to reopen if this is still relevant.
29+
close-pr-message: >
30+
This pull request was closed because it has been stale for 7 days with no activity.
31+
Feel free to reopen if this is still relevant.
32+
days-before-stale: 30
33+
days-before-close: 7
34+
stale-issue-label: 'stale'
35+
stale-pr-label: 'stale'
36+
exempt-issue-labels: 'priority: high,help wanted,good first issue'
37+
exempt-pr-labels: 'priority: high'
38+
operations-per-run: 30

0 commit comments

Comments
 (0)