Skip to content

Close inactive issues and PRs #571

Close inactive issues and PRs

Close inactive issues and PRs #571

Workflow file for this run

name: Close inactive issues and PRs
on:
schedule:
- cron: "0 0 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/[email protected]
with:
days-before-stale: 30
days-before-close: 14
stale-issue-label: "stale"
stale-pr-label: "stale"
exempt-issue-labels: "dont-close"
exempt-pr-labels: "dont-close"
stale-issue-message: "This issue has been marked as stale because it has been open for 30 days with no activity."
stale-pr-message: "This PR has been marked as stale because it has been open for 30 days with no activity."
repo-token: ${{ secrets.GITHUB_TOKEN }}