-
Notifications
You must be signed in to change notification settings - Fork 125
executable file
·46 lines (44 loc) · 1.93 KB
/
Copy pathstale.yml
File metadata and controls
executable file
·46 lines (44 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Mark Stale Issues and PRs
on:
schedule:
- cron: "0 0 * * *" # runs daily at midnight UTC
workflow_dispatch: # allow manual trigger
jobs:
stale:
name: Auto-close stale issues and PRs
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Mark stale issues and pull requests
uses: actions/stale@v9
with:
days-before-stale: 30
days-before-close: 7
stale-issue-label: "stale"
stale-issue-message: >
👋 This issue has been inactive for 30 days and has been marked
as stale. If this is still relevant, please leave a comment or
update the issue to keep it open. It will be automatically closed
in 7 days if there is no further activity.
close-issue-message: >
🔒 This issue has been automatically closed due to inactivity.
If you believe this is still relevant, feel free to reopen it
with updated context.
stale-pr-label: "stale"
stale-pr-message: >
👋 This pull request has been inactive for 30 days and has been
marked as stale. If this is still in progress, please leave a
comment or push an update to keep it open. It will be
automatically closed in 7 days if there is no further activity.
close-pr-message: >
🔒 This pull request has been automatically closed due to
inactivity. If you would like to continue this work, feel free
to reopen it or open a new PR with updated changes.
exempt-issue-labels: "pinned,security,in-progress,blocked,severity: critical,severity: high"
exempt-pr-labels: "pinned,security,in-progress,blocked,severity: critical,severity: high"
exempt-all-milestones: true
remove-stale-when-updated: true
operations-per-run: 100
ascending: true