Skip to content

Close stale issues and PR #109

Close stale issues and PR

Close stale issues and PR #109

Workflow file for this run

# Automatically mark/close stale issues and PRs
# Action: https://github.com/actions/stale (v10 uses Node 24)
name: "Close stale issues and PR"
on:
schedule:
- cron: "30 1 * * *" # Daily at 01:30 UTC
permissions:
contents: read
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write # add/remove labels, comment, close issues
pull-requests: write # add/remove labels, comment, close PRs
steps:
- uses: actions/stale@v10
with:
stale-issue-message: "This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, otherwise it will be closed in 5 days."
stale-pr-message: "This PR is stale because it has been open 45 days with no activity. Remove the stale label or comment, otherwise it will be closed in 10 days."
close-issue-message: "This issue was closed because it had no activity for 5 days after being marked stale."
stale-issue-label: "no-issue-activity"
exempt-issue-labels: "awaiting-approval,work-in-progress,breaking-change"
stale-pr-label: "no-pr-activity"
# Timelines
days-before-stale: 30
days-before-close: 5
# Keep PR behavior consistent with the message (was -1 before = never close) - TODO: changed back to -1 for now
days-before-pr-close: -1