-
Notifications
You must be signed in to change notification settings - Fork 5.9k
35 lines (29 loc) · 1.04 KB
/
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
31
32
33
34
35
name: Close stale issues
on:
schedule: # Run 5 minutes after midnight daily.
- cron: '5 0 * * *'
permissions:
contents: read
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
with:
start-date: '2022-03-01T00:00:00Z' # ISO 8601 or RFC 2822
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
days-before-close: 14
stale-issue-label: stale
close-issue-message: >
This issue has been automatically closed due to lack of activity.
If you feel this issue is still important, please reopen it and leave a comment.
exempt-issue-labels: 'breaking-change,Pri0,:watch: Not Triaged,:checkered_flag: Release: .NET 7,:checkered_flag: Release: .NET 8'
operations-per-run: 50
debug-only: true