Close stale issues and PRs #350
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 stale issues and PRs' | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 */12 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
stale-issue-message: 'This issue has been marked as stale. Please reply to the issue or the issue will be automatically closed in 3 days.' | |
close-issue-message: 'This issue has been closed as there has been no recent activity after being marked as stale.' | |
days-before-stale: 7 | |
days-before-close: 3 | |
days-before-pr-close: -1 | |
stale-issue-label: "status: stale" | |
only-issue-labels: 'awaiting response' | |
exempt-issue-labels: "status: confirmed, status: investigate, feature:request,fixed/release,fixed/dev,status: planned,question/discussion,priority/high,priority/medium,priority/low" | |
exempt-all-assignees: true | |
exempt-all-milestones: true |