Skip to content

Manage Stale Issues and PRs #228

Manage Stale Issues and PRs

Manage Stale Issues and PRs #228

Workflow file for this run

name: Manage Stale Issues and PRs
on:
schedule:
- cron: '0 * * * *' # Runs every hour
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
days-before-stale: 4
days-before-close: 2
stale-issue-message: 'This issue has been inactive for 4 days. It has been marked as stale and the assignee will be removed shortly to allow others to work on it.'
stale-pr-message: 'This PR has been inactive for 4 days. @maintainer @contributor please review or push updates, otherwise it will be closed in 2 days.'
close-issue-message: 'This issue was closed due to inactivity.'
close-pr-message: 'This PR was closed due to inactivity.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-issue-labels: 'pinned,security'
exempt-pr-labels: 'do-not-merge'
remove-issue-stale-when-updated: true
remove-pr-stale-when-updated: true