Skip to content

Close stale issues and PRs #1207

Close stale issues and PRs

Close stale issues and PRs #1207

Workflow file for this run

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 */6 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# General rules applied to both, issues and pull requests (PRs)
start-date: "2022-07-30T00:00:00Z"
days-before-close: 14
days-before-stale: 90
exempt-all-assignees: true
exempt-all-milestones: true
# Rules applied to Issues
exempt-issue-labels: "Feature, bug, Priority: Critical, Priority: High, clarification, community-upvoted, security, keep"
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
close-issue-message: >
This issue has been automatically closed due to lack of activity. If you disagree, please comment on reason
why and reopen the issue
# Rules applied to PRs
exempt-pr-labels: "community-upvoted, clarification, security, keep"
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
close-pr-message: >
This pull request has been automatically closed due to lack of activity. If you disagree, please comment on
reason why and reopen pull request