Skip to content

Commit d241c65

Browse files
authored
Clean up stale issues with GitHub stale action (#6996)
1 parent 6838749 commit d241c65

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

.github/stale.yml

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

.github/workflows/stale.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 'Close stale issues'
2+
3+
on:
4+
schedule:
5+
- cron: '30 1 * * *'
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v9
15+
with:
16+
debug-only: true # dry-run
17+
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.'
18+
stale-issue-label: stale
19+
days-before-stale: 120
20+
days-before-close: 7

0 commit comments

Comments
 (0)