From 1b21fef081b93a57d129b38eb27ef02c18fec2f1 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Fri, 12 Aug 2022 17:59:32 +0200 Subject: [PATCH] CI: improve workflows/close-stale-issues.yml --- .github/workflows/close-stale-issues.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 2ff740c1..18bbcb5f 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -1,4 +1,5 @@ # see https://docs.github.com/en/actions/managing-issues-and-pull-requests/closing-inactive-issues +# see https://github.com/actions/stale name: Close inactive issues on: @@ -14,11 +15,11 @@ jobs: steps: - uses: actions/stale@v5 with: - days-before-issue-stale: 60 - days-before-issue-close: 14 - stale-issue-label: "stale" - stale-issue-message: "This issue is stale because it has been open for 60 days with no activity." - close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." - days-before-pr-stale: -1 - days-before-pr-close: -1 + operations-per-run: 150 + days-before-stale: 60 + days-before-close: 14 + stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.' + stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.' + close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.' + close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.' repo-token: ${{ secrets.GITHUB_TOKEN }}