From 7e470290c10609f763198883c8ddc74d027ed555 Mon Sep 17 00:00:00 2001 From: Matt <90358481+xbtmatt@users.noreply.github.com> Date: Thu, 14 Mar 2024 10:33:11 -0700 Subject: [PATCH] [ECO-1352] Reset cron scheduler and stale/close times back to normal values and delete stale branches (#43) --- .github/workflows/close-stale-issues.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/close-stale-issues.yaml b/.github/workflows/close-stale-issues.yaml index c6fe6a6..c8992ce 100644 --- a/.github/workflows/close-stale-issues.yaml +++ b/.github/workflows/close-stale-issues.yaml @@ -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. @@ -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' ...