Skip to content

Stale Issues and PRs #187

Stale Issues and PRs

Stale Issues and PRs #187

Workflow file for this run

name: 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:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issue settings
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 is still relevant, please leave a comment to keep it open.
close-issue-message: |
This issue has been automatically closed due to inactivity.
Feel free to reopen if this is still relevant.
days-before-issue-stale: 60
days-before-issue-close: 7
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,enhancement,bug'
# 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 if no further activity occurs within 7 days.
If you're still working on this, please leave a comment to keep it open.
close-pr-message: |
This pull request has been automatically closed due to inactivity.
Feel free to reopen and update if you'd like to continue working on this.
days-before-pr-stale: 30
days-before-pr-close: 7
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,security,work-in-progress'
# Behavior
operations-per-run: 100
remove-stale-when-updated: true
ascending: false