From 16142e015249f7955664cc5eed3c64625760580c Mon Sep 17 00:00:00 2001 From: Eric Dejouhanet Date: Thu, 28 Mar 2024 04:46:24 +0100 Subject: [PATCH] fix(actions): fix stale issue management. (#2035) --- .github/workflows/stale.yml | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 8e61190142..26dc8f1d5e 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,23 +1,20 @@ name: 'Close Stale Issues' on: -schedule: -• cron: '30 1 * * *' # This will run the workflow daily at 1:30 UTC - + schedule: + - cron: '30 1 * * *' # This will run the workflow daily at 1:30 UTC jobs: -stale: -runs-on: ubuntu-latest -permissions: -issues: write -pull-requests: write - -steps: -• uses: actions/stale@v4 - -with: -repo-token: ${{ secrets.GITHUB_TOKEN }} -days-before-stale: 60 -days-before-close: 7 -stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.' -close-issue-message: 'This issue has been closed due to inactivity.' + stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v4 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 60 + days-before-close: 7 + stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.' + close-issue-message: 'This issue has been closed due to inactivity.'