Skip to content

Close stale issues and pull requests #99

Close stale issues and pull requests

Close stale issues and pull requests #99

Workflow file for this run

name: 'Close stale issues and pull requests'
on:
schedule:
- cron: '0 0 * * *'
permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
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.'
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.'
days-before-stale: 7
days-before-close: 5
close-issue-label: 'invalid'
close-pr-label: 'invalid'
close-issue-message: 'This issue has been automatically closed due to inactivity. Thank you for your contributions.'
close-pr-message: 'This pull request has been automatically closed due to inactivity. Thank you for your contributions.'
exempt-draft-pr: true
exempt-issue-labels: 'In-progress,Dont-close'
exempt-pr-labels: 'In-progress,Dont-close'
only: issues, pull-requests
exempt-all-assigness: true