From 37c27169ac32fe8db8a98332b9555200653654ba Mon Sep 17 00:00:00 2001 From: fatedier Date: Tue, 15 Mar 2022 11:53:14 +0800 Subject: [PATCH] workflows: update stale action (#2846) --- .github/workflows/stale.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4ccc266b..1a44ddf6 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -12,11 +12,11 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: actions/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.' - stale-pr-message: 'Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.' + stale-pr-message: "PRs go stale after 30d of inactivity. Stale PRs rot after an additional 7d of inactivity and eventually close." stale-issue-label: 'lifecycle/stale' exempt-issue-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned' stale-pr-label: 'lifecycle/stale' @@ -24,3 +24,5 @@ jobs: days-before-stale: 30 days-before-close: 7 debug-only: ${{ github.event.inputs.debug-only }} + exempt-all-pr-milestones: true + exempt-all-pr-assignees: true