From 7d8c86834831c9b02a505f61f5453bbbce995522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=BF=B5=E5=90=9B=20Nianjun=20Sun?= Date: Sat, 23 Sep 2023 21:25:26 +0800 Subject: [PATCH] Refactor: refactor the stale action to avoid stale PR (#28558) --- .github/workflows/nightly-check.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly-check.yml b/.github/workflows/nightly-check.yml index ac30213735c63..6073cf2267e26 100644 --- a/.github/workflows/nightly-check.yml +++ b/.github/workflows/nightly-check.yml @@ -184,15 +184,12 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 30 - days-before-pr-stale: 30 + days-before-pr-stale: -1 days-before-close: -1 stale-issue-label: "stale" - stale-pr-label: "stale" operations-per-run: 1000 remove-stale-when-updated: true stale-issue-message: > There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. - stale-pr-message: > - There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has - been marked as stale. +