Skip to content

Commit bb5d13a

Browse files
committed
Add exempt labels and update stale message
1 parent 47b551c commit bb5d13a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/stale.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Close inactive issues
22
on:
33
schedule:
4-
- cron: "30 1 * * *"
4+
- cron: "0 0 * * *"
55

66
jobs:
77
close-issues:
@@ -12,10 +12,14 @@ jobs:
1212
steps:
1313
- uses: actions/stale@v5
1414
with:
15+
exempt-labels:
16+
- "bug"
17+
- "security"
18+
- "enhancement"
1519
days-before-issue-stale: 30
1620
days-before-issue-close: 7
1721
stale-issue-label: "stale"
18-
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
22+
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days."
1923
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."
2024
days-before-pr-stale: -1
2125
days-before-pr-close: -1

0 commit comments

Comments
 (0)