Skip to content

Commit

Permalink
ci(stale-bot): bump version & update weekly instead of daily
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Nov 17, 2024
1 parent f35bcdb commit 485215c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: "Close stale issues and PRs"
on:
workflow_dispatch:
schedule:
- cron: "18 17 * * *"
- cron: "18 04 * * 3"

permissions:
issues: write
Expand All @@ -13,10 +12,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/stale@v8
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180

# DOCS https://github.com/actions/stale?tab=readme-ov-file#all-options
days-before-stale: 180 # ~6 months
days-before-close: 7
stale-issue-label: "Stale"
stale-issue-message: |
This issue has been automatically marked as stale.
Expand Down

0 comments on commit 485215c

Please sign in to comment.