From 4025470c4513a75877bcdde056efa4674d35641c Mon Sep 17 00:00:00 2001 From: "Daniel W. Anner" Date: Tue, 5 Sep 2023 14:21:19 -0400 Subject: [PATCH] Updating Stale action (#1602) --- .github/workflows/stale.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 014aeedfc..326f34d7e 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,15 +1,17 @@ --- -# close-stale-issues (https://github.com/marketplace/actions/close-stale-issues) +# https://github.com/actions/stale name: Close stale PRs -on: # yamllint disable-line rule:truthy +on: schedule: - - cron: 0 4 * * * - + - cron: '0 4 * * *' jobs: stale: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - - uses: actions/stale@v5 + - uses: actions/stale@v8 with: close-pr-message: > This PR has been automatically closed due to lack of activity. Please reopen if you would like to to re-review it.