Skip to content

Commit 9bc76d3

Browse files
committed
ci(stale-bot): bump version & update weekly instead of daily
1 parent 2f67327 commit 9bc76d3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/stale-bot.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: "Close stale issues and PRs"
22
on:
3-
workflow_dispatch:
43
schedule:
5-
- cron: "18 04 * * *"
4+
- cron: "18 04 * * 3"
65

76
permissions:
87
issues: write
@@ -13,10 +12,13 @@ jobs:
1312
runs-on: ubuntu-latest
1413
steps:
1514
- name: Close Stale Issues
16-
uses: actions/stale@v8
15+
uses: actions/stale@v9
1716
with:
1817
repo-token: ${{ secrets.GITHUB_TOKEN }}
19-
days-before-stale: 180
18+
19+
# DOCS https://github.com/actions/stale?tab=readme-ov-file#all-options
20+
days-before-stale: 180 # ~6 months
21+
days-before-close: 7
2022
stale-issue-label: "Stale"
2123
stale-issue-message: |
2224
This issue has been automatically marked as stale.

0 commit comments

Comments
 (0)