From f3f577ce8e4a8ab8a87bd0e61f7f69dfd2f18b8b Mon Sep 17 00:00:00 2001 From: Joao Grassi Date: Mon, 5 Feb 2024 17:59:04 +0100 Subject: [PATCH] Chore: Bump stale bot version and exclude certain cases (#685) --- .github/workflows/stale-pr.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale-pr.yml b/.github/workflows/stale-pr.yml index e463791fa9..3b6ebf4168 100644 --- a/.github/workflows/stale-pr.yml +++ b/.github/workflows/stale-pr.yml @@ -1,4 +1,4 @@ -name: "Close stale spull requests" +name: "Close stale pull requests" on: schedule: - cron: "12 3 * * *" # arbitrary time not to DDOS GitHub @@ -7,11 +7,12 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-pr-message: 'This PR was marked stale due to lack of activity. It will be closed in 7 days.' close-pr-message: 'Closed as inactive. Feel free to reopen if this PR is still being worked on.' - exempt-pr-labels: 'release:after-ga' + exempt-pr-labels: 'bug,work in progress,experts needed' + exempt-draft-pr: true days-before-stale: 15 days-before-close: 7