Skip to content

Close stale issues

Close stale issues #96

Workflow file for this run

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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.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