Skip to content

Commit

Permalink
[ECO-1352] Reset cron scheduler and stale/close times back to normal …
Browse files Browse the repository at this point in the history
…values and delete stale branches (#43)
  • Loading branch information
xbtmatt authored Mar 14, 2024
1 parent f3c0b12 commit 7e47029
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/close-stale-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ jobs:
steps:
- uses: 'actions/stale@v9'
with:
days-before-close: '1'
days-before-stale: '1'
days-before-close: '15'
days-before-stale: '45'
delete-branch: 'true'
exempt-issue-labels: 'stale-exempt'
exempt-pr-labels: 'stale-exempt'
operations-per-run: '50' # This is to avoid Github API rate limiting.
Expand All @@ -21,8 +22,9 @@ jobs:
name: 'Close stale issues and PRs'
'on':
schedule:
- cron: '*/5 0 * * *' # Cron scheduler syntax.
- cron: '0 0 * * *' # Cron scheduler syntax.
permissions:
contents: 'write'
issues: 'write'
pull-requests: 'write'
...

0 comments on commit 7e47029

Please sign in to comment.