-
Notifications
You must be signed in to change notification settings - Fork 1k
26 lines (24 loc) · 1.1 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
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *" # once a day at midnight
permissions: {}
jobs:
stale:
permissions:
issues: write # to close stale issues (actions/stale)
pull-requests: write # to close stale PRs (actions/stale)
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 2 weeks this issue will be closed.'
stale-pr-message: 'Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.'
days-before-stale: 30
days-before-close: 14
stale-issue-label: "status: feedback-reminder"
stale-pr-label: "status: feedback-reminder"
operations-per-run: 30
remove-stale-when-updated: true
only-labels: "status: waiting-for-feedback"