Skip to content

Stale Issues and PRs #173

Stale Issues and PRs

Stale Issues and PRs #173

Workflow file for this run

name: Stale Issues and PRs
on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight UTC
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# Issue settings
stale-issue-message: |
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
If this issue is still relevant, please comment or remove the stale label.
stale-issue-label: 'stale'
days-before-issue-stale: 60
days-before-issue-close: 14
exempt-issue-labels: 'pinned,security,bug,help wanted,good first issue'
# PR settings
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Please update the PR or comment if you're still working on it.
stale-pr-label: 'stale'
days-before-pr-stale: 30
days-before-pr-close: 14
exempt-pr-labels: 'pinned,work in progress,dependencies'
# Close messages
close-issue-message: 'This issue was closed because it has been stale for 14 days with no activity.'
close-pr-message: 'This PR was closed because it has been stale for 14 days with no activity.'
# Labels to add when closing
close-issue-label: 'closed-stale'
close-pr-label: 'closed-stale'
# Exclude certain authors
exempt-all-assignees: true
# Operation limits
operations-per-run: 100