From f5a43eea29dce31f99f76f6ada29ae500e9ec386 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Mon, 21 Nov 2022 10:59:40 -0500 Subject: [PATCH] GHA: Fix cirrus re-run workflow for other repos. The checkout action by default, clones the current repository. However, since this workflow is re-used by other repos, and it calls scripts in the podman repo, those calls will all fail. Fix this by hard-coding the podman repo. Ref: https://github.com/actions/checkout Signed-off-by: Chris Evich --- .github/workflows/rerun_cirrus_cron.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rerun_cirrus_cron.yml b/.github/workflows/rerun_cirrus_cron.yml index 45bd896f23..8ac3330319 100644 --- a/.github/workflows/rerun_cirrus_cron.yml +++ b/.github/workflows/rerun_cirrus_cron.yml @@ -44,6 +44,9 @@ jobs: steps: - uses: actions/checkout@v3 with: + # All scripts used by this workflow live in podman repo. + repository: "containers/podman" + ref: "main" persist-credentials: false - name: Get failed cron names and Build IDs