From bb6f05de48b8a8a67f883f38b4532a0c478625e3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 22 Jun 2026 21:46:33 -0400 Subject: [PATCH] ci: fix invalid secrets expression in RelativeCI step condition (#12791) The secrets context is not available in step-level if conditions, which made the workflow file invalid. Map the secret to an env var and test that instead. Co-authored-by: Claude Opus 4.8 --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7185d9aa98..ee5764508a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,7 +126,9 @@ jobs: run: echo "NODE_ENV=production" >> $GITHUB_ENV - run: yarn vite:build - name: Send bundle stats to RelativeCI - if: ${{ secrets.RELATIVE_CI_KEY != '' }} + if: ${{ env.RELATIVE_CI_KEY != '' }} + env: + RELATIVE_CI_KEY: ${{ secrets.RELATIVE_CI_KEY }} uses: relative-ci/agent-action@38328454d6a23942175eba485fca4fbb807b1f03 # v2 with: key: ${{ secrets.RELATIVE_CI_KEY }}