Skip to content

Close Stale Issues

Close Stale Issues #50

Workflow file for this run

name: Close Stale Issues
on:
schedule:
# Run daily at 00:00 UTC
- cron: '0 0 * * *'
workflow_dispatch: # Allow manual trigger
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# Issues
stale-issue-message: |
This issue has been automatically marked as stale because it has not had any activity for 14 days.
If this issue is still relevant, please add a comment to keep it open. Otherwise, it will be automatically closed in 7 days.
Thank you for your contributions!
close-issue-message: |
This issue has been 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: 14
days-before-close: 7
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,bug,enhancement'
# Pull Requests (optional - you can adjust these)
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had any activity for 14 days.
If this PR is still relevant, please add a comment or push new commits to keep it open. Otherwise, it will be automatically closed in 7 days.
close-pr-message: |
This pull request has been automatically closed due to inactivity.
If you would like to continue working on this, feel free to reopen it.
days-before-pr-stale: 14
days-before-pr-close: 7
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,security'
# General settings
operations-per-run: 30
remove-stale-when-updated: true
ascending: false