Skip to content

Commit 4ace787

Browse files
committed
Update .github/workflows/stale-issues.yml
1 parent ac97d4f commit 4ace787

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/stale-issues.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
6+
jobs:
7+
default:
8+
timeout-minutes: 1
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/[email protected]
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days'
15+
stale-issue-label: 'stale'
16+
exempt-issue-labels: 'bug,enhancement,documentation,help wanted,next release,next major release'
17+
days-before-stale: 21
18+
days-before-close: 7
19+
20+
invalid:
21+
timeout-minutes: 1
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/[email protected]
25+
with:
26+
repo-token: ${{ secrets.GITHUB_TOKEN }}
27+
stale-issue-message: 'This issue is stale because it has been labeled as invalid, duplicate or wontfix. Remove stale label or comment or this will be closed in 2 days'
28+
stale-issue-label: 'stale'
29+
exempt-issue-labels: 'invalid,duplicate,wontfix'
30+
days-before-stale: 1
31+
days-before-close: 2

0 commit comments

Comments
 (0)