-
Notifications
You must be signed in to change notification settings - Fork 29
30 lines (24 loc) · 1017 Bytes
/
issue_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
# via https://github.com/actions/stale
# 1. label all issues that have a waiting-for-requester label as stale
# after 42 days (6 weeks)
# 2. close stale issues after 42 days of inactivity
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
stale-issue-message: 'This issue will be automatically closed in 42 days due to inactivity. Feel free to leave a comment if you believe this is still relevant.'
close-issue-message: 'Automatically closed due to inactivity.'
operations-per-run: 1000
close-issue-label: 'Stale-closed'
close-issue-reason: 'completed'
# labels stale all issues with a waiting for requester label:
any-of-labels: 'Waiting for requester'
days-before-stale: 42
days-before-close: 42
labels-to-remove-when-unstale: 'Waiting for requester'