Skip to content

Close manually labeled stale issues #73

Close manually labeled stale issues

Close manually labeled stale issues #73

Workflow file for this run

name: Close manually labeled stale issues
on:
schedule:
- cron: "0 0 * * *" # Runs daily at midnight UTC
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: "😐 stale" # Only issues with this label are processed
days-before-stale: -1 # Disables adding the "stale" label automatically
days-before-close: 30 # Closes 30 days after being labeled
close-issue-message: >
This issue has been automatically closed because it was manually marked as stale
and no activity was detected for 30 days. If this was closed in error,
please reopen or comment. Thank you!
only-issues: true # Only processes issues, not PRs
exempt-issue-labels: "" # No exempt labels
operations-per-run: 50 # Only 50 issues per run