-
-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (26 loc) · 1.34 KB
/
close-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
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
permissions:
issues: write
contents: read
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: jamestrousdale/[email protected]
id: gen
with:
app-id: '363587'
private-key: ${{ secrets.APP_KEY }}
- uses: actions/stale@v9
with:
repo-token: ${{ steps.gen.outputs.access-token }}
stale-issue-label: 'stale/wontfix'
stale-issue-message: 'This issue is stale. If this issue is still occurring and you are on a [supported version](https://github.com/ciderapp/Cider-2/blob/main/SECURITY.md#supported-versions), please leave any comment (e.g. "bump") within the next 7 days and the issue will remain open. If you have any additional information that may help us resolve your issue, please include it with your comment.'
close-issue-message: 'This issue has been closed due to inactivity. If you find this bug to still be occurring in a [supported version](https://github.com/ciderapp/Cider-2/blob/main/SECURITY.md#supported-versions), please open a new issue with the necessary information.'
days-before-issue-stale: 14
days-before-issue-close: 7
exempt-issue-labels: "security,status/confirmed,stale/exempt"
exempt-all-assignees: true