Skip to content

Close stale issues and PRs #278

Close stale issues and PRs

Close stale issues and PRs #278

Workflow file for this run

name: Close stale issues and PRs
on:
push:
paths:
- .github/workflows/stale.yml
branches-ignore:
- dependabot/**
- releases/**
schedule:
# Once every day at midnight UTC. Source: https://crontab.guru/every-day
- cron: '0 0 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# Setting this variable to 'true' will cause the
# action to run in a dry-run mode
debug-only: ${{ vars.DEBUG_ONLY == 'true' }}
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.
close-issue-message: >
Closing this issue after a prolonged period of inactivity. If this
issue is still present in the latest release, please feel free to
create a new issue with up-to-date information.
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.
close-pr-message: >
Closing this PR after a prolonged period of inactivity. Please create a new PR
if the changes of the PR are still relevant.
exempt-all-milestones: true
exempt-issue-labels: 'awaiting-inputs,work-in-progress,help-wanted'
exempt-pr-labels: 'awaiting-inputs,work-in-progress,help-wanted'
days-before-issue-stale: 90
days-before-issue-close: 15
days-before-pr-stale: 30
days-before-pr-close: 7