This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
57 lines (53 loc) · 1.71 KB
/
stale-issues.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
jobs:
default:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
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'
stale-issue-label: 'stale'
exempt-issue-labels: 'bug,enhancement,documentation,help wanted,next release,next major release'
days-before-stale: 21
days-before-close: 7
invalid:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been labeled as invalid.'
stale-issue-label: 'stale'
only-labels: 'invalid'
days-before-stale: 1
days-before-close: 2
duplicate:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been labeled as duplicate.'
stale-issue-label: 'stale'
only-labels: 'duplicate'
days-before-stale: 1
days-before-close: 2
wontfix:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been labeled as wontfix.'
stale-issue-label: 'stale'
only-labels: 'wontfix'
days-before-stale: 1
days-before-close: 2