This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
Close inactive issues #15367
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: Close inactive issues | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 * * * *' | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v4 | |
with: | |
ascending: false | |
operations-per-run: 300 | |
days-before-issue-stale: 90 | |
days-before-issue-close: 7 | |
stale-issue-label: 'stale' | |
stale-issue-message: 'This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.' | |
close-issue-message: 'This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.' | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
enable-statistics: true | |
exempt-issue-labels: "needs review" | |
exempt-all-assignees: true |