Close manually labeled stale issues #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |