Skip to content

Close Stale Issues and PRs #226

Close Stale Issues and PRs

Close Stale Issues and PRs #226

Workflow file for this run

name: Close Stale Issues and PRs
on:
schedule:
# Run daily at 00:00 UTC
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Mark and close stale issues and PRs
uses: actions/stale@v10
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 in 14 days if no further activity occurs.
If this issue is still relevant, please:
- Add a comment to keep it open
- Provide any additional information that might help
- Update the issue with current status
Thank you for your contributions!
close-issue-message: |
This issue was automatically closed due to inactivity.
If you believe this issue is still relevant, feel free to reopen it or create a new issue with updated information.
days-before-stale: 60
days-before-close: 14
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,critical,good first issue,help wanted'
# 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 in 14 days if no further activity occurs.
If you're still working on this PR:
- Add a comment to keep it open
- Push new commits with requested changes
- Rebase on the latest main branch if needed
Thank you for your contributions!
close-pr-message: |
This pull request was automatically closed due to inactivity.
If you'd like to continue this work, feel free to reopen the PR or submit a new one.
days-before-pr-stale: 60
days-before-pr-close: 14
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,security,in-progress,blocked'
# General configuration
operations-per-run: 100
remove-stale-when-updated: true
ascending: true
exempt-all-milestones: false
# Don't mark draft PRs as stale
exempt-draft-pr: true