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.