-
Notifications
You must be signed in to change notification settings - Fork 700
34 lines (32 loc) · 1.13 KB
/
git-hygiene.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: "Close Stale Issues"
on:
workflow_dispatch:
schedule:
- cron: "0 */3 * * *"
jobs:
cleanup:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
name: Stale issue job
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 7
exempt-issue-labels: 'needs-triage,help wanted,backlog'
exempt-pr-labels: 'needs-triage'
stale-issue-label: 'closing-soon'
operations-per-run: 100
enable-statistics: true
stale-issue-message: |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed.
stale-pr-label: 'closing-soon'
stale-pr-message: |
Marking this pull request as stale due to inactivity. This helps our maintainers find and focus on the active pull requests.
debug-only: false
ascending: true
exempt-all-milestones: true
exempt-all-assignees: true