Auto-close stale issues #187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto-close stale issues | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
auto-close: | |
if: github.repository_owner == 'pyca' | |
runs-on: ubuntu-latest | |
permissions: | |
issues: "write" | |
pull-requests: "write" | |
steps: | |
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
with: | |
only-labels: waiting-on-reporter | |
days-before-stale: 3 | |
days-before-close: 5 | |
stale-issue-message: "This issue has been waiting for a reporter response for 3 days. It will be auto-closed if no activity occurs in the next 5 days." | |
close-issue-message: "This issue has not received a reporter response and has been auto-closed. If the issue is still relevant please leave a comment and we can reopen it." | |
close-issue-reason: completed |