Skip to content

Stale Issues and PRs #5

Stale Issues and PRs

Stale Issues and PRs #5

Workflow file for this run

name: Stale Issues and PRs
on:
schedule:
# Run every day at 1 AM UTC
- cron: '0 1 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Mark stale issues and PRs
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issues configuration
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 within 7 days.
If this issue is still relevant, please comment to keep it open.
close-issue-message: |
This issue has been automatically closed due to inactivity.
If you believe this issue is still relevant, please reopen it or create a new issue with updated information.
stale-issue-label: 'stale'
days-before-issue-stale: 30
days-before-issue-close: 7
# Pull requests configuration
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs within 7 days.
If this PR is still relevant, please add a comment or push new commits.
close-pr-message: |
This pull request has been automatically closed due to inactivity.
If you want to continue with this PR, please reopen it.
stale-pr-label: 'stale'
days-before-pr-stale: 14
days-before-pr-close: 7
# Exempt labels and milestones
exempt-issue-labels: 'enhancement,bug,documentation,help-wanted,good-first-issue,security'
exempt-pr-labels: 'work-in-progress,blocked,do-not-merge'
exempt-all-milestones: true
# Don't mark issues/PRs stale if they have recent activity
operations-per-run: 100