-
-
Notifications
You must be signed in to change notification settings - Fork 23
34 lines (28 loc) · 1.28 KB
/
gh-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
27
28
29
30
31
32
33
34
name: GitHub Stale Issues
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
jobs:
stale:
permissions:
issues: write
pull-requests: write
discussions: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 14
days-before-pr-stale: -1
days-before-close: 14
stale-issue-message: |
## :hourglass_flowing_sand: Stale issue warning
This issue is stale because it has been open 14 days with no activity. Comment or this will be automatically closed in 14 days.
_Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._
close-issue-message: |
## :no_entry_sign: Stale issue closure
This issue was closed because it has been stalled for 14 days with no activity. Only repository collaborators will be able to re-open this issue.
_Comment generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}) workflow._
stale-issue-label: 'stale'
only-labels: 'question'