Skip to content

Stale Issues and PRs #45

Stale Issues and PRs

Stale Issues and PRs #45

Workflow file for this run

name: Stale Issues and PRs
on:
schedule:
# Run daily at midnight UTC
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issues
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.
Thank you for your contributions.
close-issue-message: |
This issue has been automatically closed due to inactivity.
Feel free to reopen if you believe this is still relevant.
days-before-issue-stale: 60
days-before-issue-close: 14
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,roadmap'
# Pull Requests
stale-pr-message: |
This PR has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
close-pr-message: |
This PR has been automatically closed due to inactivity.
days-before-pr-stale: 30
days-before-pr-close: 7
stale-pr-label: 'stale'
exempt-pr-labels: 'pinned,security'
# General
operations-per-run: 30
remove-stale-when-updated: true