Skip to content

Close stale issues and PRs #60

Close stale issues and PRs

Close stale issues and PRs #60

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is marked stale because it has been open 30 days with no activity. Remove stale label or update the issue, otherwise it will be closed in 14 days.'
stale-pr-message: 'This PR is marked stale because it has been open 60 days with no activity. Remove stale label or update the PR, otherwise it will be closed in 14 days.'
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.'
only-issue-labels: Waiting on feedback # Only consider issues with 'Waiting on feedback' labels
exempt-draft-pr: true # Do not consider a draft PR stale
exempt-all-pr-milestones: true # Do not consider a PR associated with a Milestone stale
days-before-stale: 30
days-before-pr-stale: 60
days-before-close: 14
ascending: true # Start with the oldest issues/PRs first
debug-only: false # Currently only doing "dry runs" until we're satisfied with the configuration
operations-per-run: 30 # GitHub API calls are rate limited. When debug-only is "false", this value should be approx. 30 (default) or less