From ac3148e923ef75cb474fb67838f110d6af152fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n?= Date: Mon, 15 Jun 2026 12:04:33 +0200 Subject: [PATCH] fix: remove run-id from download-artifact in deploy job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The package and deploy jobs are in the same workflow run. download-artifact@v4 finds artifacts by name within the current run automatically — no run-id or github-token needed. Using github.event.workflow_run.id (the upstream Build & Push run) caused artifact not found errors. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/zarf-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/zarf-package.yml b/.github/workflows/zarf-package.yml index 0d32d61..6fd8093 100644 --- a/.github/workflows/zarf-package.yml +++ b/.github/workflows/zarf-package.yml @@ -128,12 +128,12 @@ jobs: echo "value=sha-${SHORT_SHA}" >> $GITHUB_OUTPUT # ── Download the tarball produced by the package job ───────────────────── + # No run-id needed: both jobs are in the same workflow run, so + # download-artifact finds the artifact automatically by name. - name: Download Zarf package artifact uses: actions/download-artifact@v4 with: name: zarf-package-${{ steps.tag.outputs.value }} - github-token: ${{ secrets.GITHUB_TOKEN }} - run-id: ${{ github.event.workflow_run.id }} # ── Install Zarf CLI ───────────────────────────────────────────────────── - name: Install Zarf