Skip to content

Close stale issues and PRs #561

Close stale issues and PRs

Close stale issues and PRs #561

Workflow file for this run

name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *'
permissions:
issues: write
pull-requests: write
actions: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
days-before-stale: 365
days-before-close: -1
stale-issue-message: 'This issue is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.'
stale-issue-label: Stale
stale-pr-message: 'This pull request is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.'
stale-pr-label: Stale
exempt-issue-labels: Roadmap
exempt-pr-labels: Roadmap
operations-per-run: 1000
debug-only: false