Skip to content

Close stale issues and PRs #739

Close stale issues and PRs

Close stale issues and PRs #739

Workflow file for this run

name: "Close stale issues and PRs"
on:
schedule:
- cron: "30 1 * * *"
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
stale-issue-message: "Old issues will be closed after 105 days of inactivity. This issue has been quiet for 90 days and is being marked as stale. Reply here to keep this issue open."
close-issue-message: "This issue is being closed due to inactivity. Is this a mistake? Please re-open this issue or create a new one."
stale-pr-message: "Old PRs will be closed after 30 days of inactivity. This PR has been quiet for 14 days and is being marked as stale. Reply here to keep this PR open."
close-pr-message: "This PR is being closed due to inactivity. Is this a mistake? Please re-open this PR or create a new one."
days-before-pr-stale: 14
days-before-pr-close: 30
days-before-issue-stale: 90
days-before-issue-close: 105
stale-issue-label: "stale"
stale-pr-label: "stale"
close-issue-label: "inactive"
close-pr-label: "inactive"
exempt-issue-labels: "not-stale"
exempt-pr-labels: "not-stale"