-
-
Notifications
You must be signed in to change notification settings - Fork 47
28 lines (25 loc) · 1.3 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
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '00 0 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8
with:
days-before-issue-stale: 30
days-before-pr-stale: -1
stale-issue-label: 'stale'
stale-pr-label: 'stale'
any-of-labels: 'duplicate,invalid,awaiting feedback,wontfix'
exempt-all-milestones: true
exempt-all-assignees: true
labels-to-remove-when-unstale: stale
stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity. It will be closed in 7 days if there is no activity within that time.'
stale-pr-message: 'This pr is stale because it has been open for 30 days with no activity. It will be closed in 7 days if there is no activity within that time. If it gets closed, but you wish to still do the pr, either send a new one, or comment on the pr stating your wishes.'
close-issue-message: 'This issue has been closed because it was stale for 30 days, and there was no activity within the 7 day grace period. You may still comment on your issue after it is closed if you wish for it to receive attention or be re-opened.'