From 1ac9583a5695525bd708df39e2881bb51ea0995d Mon Sep 17 00:00:00 2001 From: xxchan Date: Wed, 3 Jul 2024 16:56:38 +0800 Subject: [PATCH] ci: fix stale bot scheduled run (#17549) Signed-off-by: xxchan --- .github/workflows/stale.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 765befde5a752..c2389fc829b07 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: > + stale-issue-message: | This issue has been open for 60 days with no activity. If you think it is still relevant today, and needs to be done *in the near future*, you can comment to update the status, or just manually remove the `no-issue-activity` label. @@ -30,7 +30,7 @@ jobs: You can also confidently close this issue as not planned to keep our backlog clean. Don't worry if you think the issue is still valuable to continue in the future. It's searchable and can be reopened when it's time. 😄 - stale-pr-message: > + stale-pr-message: | This PR has been open for 60 days with no activity. If it's blocked by code review, feel free to ping a reviewer or ask someone else to review it. @@ -40,7 +40,7 @@ jobs: You can also confidently close this PR to keep our backlog clean. (If no further action taken, the PR will be automatically closed after 7 days. Sorry! 🙏) Don't worry if you think the PR is still valuable to continue in the future. It's searchable and can be reopened when it's time. 😄 - close-pr-message: > + close-pr-message: | Close this PR as there's no further actions taken after it is marked as stale for 7 days. Sorry! 🙏 You can reopen it when you have time to continue working on it. @@ -48,5 +48,5 @@ jobs: stale-pr-label: 'no-pr-activity' days-before-close: -1 days-before-pr-close: 7 - operations-per-run: ${{ github.event.inputs.operationsPerRun }} + operations-per-run: ${{ github.event.inputs.operationsPerRun || 30 }} enable-statistics: true