Skip to content

Stale

Stale #122

Workflow file for this run

# Stale Issue/PR Management
# Automatically labels and closes stale issues and PRs
name: Stale
on:
schedule:
# Run daily at 00:00 UTC
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
stale:
name: Manage Stale Issues/PRs
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
timeout-minutes: 10
steps:
- name: Mark stale issues and PRs
uses: actions/stale@v10
with:
# Issue 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:
- Comment to keep it open
- Add the `pinned` label to prevent it from being marked stale
stale-issue-label: 'stale'
days-before-issue-stale: 60
days-before-issue-close: 14
exempt-issue-labels: 'pinned,security,bug,help wanted'
# PR 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 this PR is still relevant:
- Comment or push new commits to keep it open
- Add the `pinned` label to prevent it from being marked stale
stale-pr-label: 'stale'
days-before-pr-stale: 30
days-before-pr-close: 14
exempt-pr-labels: 'pinned,security,work-in-progress'
# General configuration
remove-stale-when-updated: true
delete-branch: false
operations-per-run: 100
# Close messages
close-issue-message: |
This issue has been automatically closed due to inactivity.
Feel free to reopen it if the issue persists.
close-pr-message: |
This pull request has been automatically closed due to inactivity.
Feel free to reopen it if you'd like to continue working on it.