From 62e1485143d1a5d7ea715485dae9df847149f835 Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Mon, 9 Dec 2024 23:09:01 +0800 Subject: [PATCH] ci(uffizzi-preview): use id of the workflow that triggered the workflow run (#10003) The "Deploy Uffizzi Preview" has been failing after PR #9859 has been merged. The cause is that the `cache-compose-file` was trying to download artifacts from the current workflow. Instead, it should download artifacts uploaded by the workflow that trigerred the workflow run. Fixes: 2684cedddf ("chore(release-pr): update `upload-artifact` action to v4 (#9859)") Signed-off-by: Eng Zer Jun --- .github/workflows/uffizzi-preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/uffizzi-preview.yml b/.github/workflows/uffizzi-preview.yml index ce5c73a4e1..1f648e2b33 100644 --- a/.github/workflows/uffizzi-preview.yml +++ b/.github/workflows/uffizzi-preview.yml @@ -25,6 +25,7 @@ jobs: path: preview-spec pattern: preview-spec-* merge-multiple: true + run-id: ${{ github.event.workflow_run.id }} - name: 'Accept event from first stage' run: cp preview-spec/event.json .