Skip to content

Commit 16f0462

Browse files
authored
chore: mark old issues and pull requests as stale (#1870)
1 parent b41db4b commit 16f0462

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/stale.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'Mark stale issues'
2+
permissions:
3+
issues: write
4+
on:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: '9 22 * * *' # the job will run every day at 22:09
8+
9+
jobs:
10+
stale:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v8
14+
with:
15+
days-before-stale: 60
16+
days-before-close: -1
17+
stale-issue-label: 'stale'
18+
exempt-milestones: 'next'
19+
operations-per-run: 100

0 commit comments

Comments
 (0)