Skip to content

Close stale Issues/PRs #1327

Close stale Issues/PRs

Close stale Issues/PRs #1327

Workflow file for this run

## Reference: https://github.com/actions/stale
name: 'Close stale Issues/PRs'
on:
schedule:
- cron: '30 12 * * *'
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@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 10
# Issue settings
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.
exempt-issue-labels: "on-hold,pinned,good first issue"
# PR Settings
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.
exempt-pr-labels: "on-hold,pinned"