-
Notifications
You must be signed in to change notification settings - Fork 68
34 lines (30 loc) · 1.22 KB
/
stale.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
name: "Close stale issues"
on:
schedule:
# runs daily
- cron: '0 0 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# for issues and PRs
days-before-stale: 90
days-before-close: 30
exempt-issue-labels: 'awaiting-approval,work-in-progress,wip'
# issues
stale-issue-message: |-
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Mark as fresh by adding the comment `/remove-lifecycle stale`.
close-issue-message: 'Closing issue due to inactivity. Please reopen if needed'
stale-issue-label: 'stale'
# PRs
stale-pr-message: |-
This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Mark as fresh by adding the comment `/remove-lifecycle stale`.
close-pr-message: 'Closing pull request due to inactivity. Please reopen if needed'
stale-pr-label: 'stale'