-
Notifications
You must be signed in to change notification settings - Fork 181
24 lines (22 loc) · 992 Bytes
/
stale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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