Skip to content

Close stale issues and PRs #98

Close stale issues and PRs

Close stale issues and PRs #98

Workflow file for this run

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '21 1 * * *'
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
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
any activity in the last 60 days. It will be closed if no further activity
occurs. Thank you for your contributions.
stale-issue-label: 'stale'
exempt-issue-labels: 'enhancement,security,pinned'
stale-pr-message: |-
This Pull Request is stale because it has been open for 60 days with
no activity. It will be closed in 7 days if no further activity.
stale-pr-label: 'stale'
days-before-stale: 60
days-before-close: 7