Skip to content

Close stale issues and PRs #222

Close stale issues and PRs

Close stale issues and PRs #222

Workflow file for this run

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 1,13 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/stale
- uses: actions/stale@v9
with:
# global config
operations-per-run: 300
days-before-stale: 30
days-before-close: 90
# issue specific config
stale-issue-label: 'wontfix'
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. Thank you
for your contributions.
close-issue-message: 'Closing this due to being stale.'
# https://github.com/actions/stale?tab=readme-ov-file#exempt-issue-labels
exempt-issue-labels: 'keep-open'
# pull request specific config
exempt-pr-labels: 'dependencies'
stale-pr-label: 'wontfix'
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. Thank you
for your contributions.
close-pr-message: 'Closing this due to being stale.'
delete-branch: true