From 13e4905a60011e162f34e86a77acfcb4af874685 Mon Sep 17 00:00:00 2001 From: Elad Kalif <45845474+eladkal@users.noreply.github.com> Date: Sat, 30 Dec 2023 12:08:08 +0200 Subject: [PATCH] Bump stalebot to version 9 (#36494) --- .github/workflows/recheck-old-bug-report.yml | 8 +++++--- .github/workflows/stale.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/recheck-old-bug-report.yml b/.github/workflows/recheck-old-bug-report.yml index 7c3adcd0a6ee8..462c51362bd18 100644 --- a/.github/workflows/recheck-old-bug-report.yml +++ b/.github/workflows/recheck-old-bug-report.yml @@ -28,7 +28,7 @@ jobs: recheck-old-bug-report: runs-on: "ubuntu-22.04" steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: only-issue-labels: 'kind:bug' stale-issue-label: 'Stale Bug Report' @@ -38,8 +38,10 @@ jobs: # scan only issues: https://github.com/actions/stale/issues/837 # To avoid this job scanning also PRs and setting the defaults of the bot to them, # we set high number of days thus effectively this job will not do any changes on PRs - days-before-pr-stale: 7000 - days-before-pr-close: 7000 + # Possible workaround with -1 as mentioned in + # https://github.com/actions/stale/issues/1112#issuecomment-1871654196 + days-before-pr-stale: -1 + days-before-pr-close: -1 remove-stale-when-updated: false remove-issue-stale-when-updated: true labels-to-add-when-unstale: 'needs-triage' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index fb680826aaa1e..953369a0aef92 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -29,7 +29,7 @@ jobs: stale: runs-on: "ubuntu-22.04" steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: stale-pr-message: > This pull request has been automatically marked as stale because it has not had