Skip to content

Commit d5271ef

Browse files
committed
ci: update stale workflow
Signed-off-by: Mark Sagi-Kazar <[email protected]>
1 parent dff303b commit d5271ef

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/stale.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
name: "Close stale issues"
22

3+
on:
4+
schedule:
5+
- cron: "0 3 * * *"
6+
37
jobs:
48
stale:
9+
name: Stale
510
runs-on: ubuntu-latest
11+
612
steps:
7-
# Executes the stale issue action
8-
# - Issues older than 30 days with no activity will receive a "Stale" label and a warning
9-
# - Issues with a "Stale" label will close in 5 days
1013
- uses: actions/stale@v9
1114
with:
12-
close-issue-message: "This issue has been closed for inactivity. Please re-open if this was a mistake."
15+
days-before-stale: 30
1316
days-before-close: 5
1417
days-before-pr-stale: -1 # Ignore all PRs
15-
days-before-stale: 30
16-
debug-only: true # TODO for testing
1718
stale-issue-message: "Issues with no activity for 30 days are marked stale and subject to being closed."
18-
19-
on:
20-
schedule:
21-
- cron: "0 3 * * *"
19+
close-issue-message: "This issue has been closed for inactivity. Please re-open if this was a mistake."
20+
stole-issue-label: "lifecycle/stale"
21+
debug-only: true # TODO for testing

0 commit comments

Comments
 (0)