Skip to content

Manage Stale Issues and PRs #18

Manage Stale Issues and PRs

Manage Stale Issues and PRs #18

Workflow file for this run

name: Manage Stale Issues and PRs
on:
schedule:
- cron: '0 0 * * 1,3,5' # Mon/Wed/Fri at midnight UTC
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.'
close-issue-message: 'This issue was closed because it has been stale for 7 days with no activity.'
close-pr-message: 'This PR was closed because it has been stale for 7 days with no activity.'
days-before-stale: 60
days-before-close: 7
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-issue-labels: 'pinned,security,roadmap'
exempt-pr-labels: 'pinned,security'
operations-per-run: 100 # Limit API calls per run to avoid rate limiting
enable-statistics: true # Log statistics for monitoring