From 6abcf0361131a4637c298b183bf638a38c481429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 3 Nov 2023 08:15:18 +0100 Subject: [PATCH 1/2] gha: stale: Fix typo action -> actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is causing the following error: ``` Unable to resolve action action/stale, repository not found ``` Fixes: #8347 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/stale.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 3f26fdabb2..176f712936 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -7,7 +7,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: action/stale@v8 + - uses: actions/stale@v8 with: start-date: '2023-05-01T00:00:00Z' stale-pr-message: 'This PR has been opened without with no activity for 180 days. Comment on the issue otherwise it will be closed in 7 days' From 994615ca2881dc080215470748e2ed1a4206eef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 3 Nov 2023 08:17:48 +0100 Subject: [PATCH 2/2] gha: stale: Allow manually triggering it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will help us to avoid waiting till the next time cron would trigger the action to test Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/stale.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 176f712936..5928d83c2f 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -2,6 +2,7 @@ name: 'Automatically close stale PRs' on: schedule: - cron: '0 0 * * *' + workflow_dispatch: jobs: stale: