From 500b583a98a4bf2bfc4af24a720976f3441e85df Mon Sep 17 00:00:00 2001 From: Lucas McDonald Date: Tue, 21 Jul 2026 13:39:36 -0700 Subject: [PATCH] fix(ci): pass branch input into shared-ci for release workflow The release workflow runs from master but releases from a target branch (e.g. v4.x) via the 'branch' input. The pre-release-ci and validate jobs called shared-ci.yml without forwarding this input, so shared-ci defaulted to checking out master and tested the wrong tree. Forward the branch input so pre-release CI and post-publish validation run against the release branch. --- .github/workflows/prod-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/prod-release.yml b/.github/workflows/prod-release.yml index ffddc0dc..7ed7ca05 100644 --- a/.github/workflows/prod-release.yml +++ b/.github/workflows/prod-release.yml @@ -26,6 +26,8 @@ env: jobs: pre-release-ci: uses: ./.github/workflows/shared-ci.yml + with: + branch: ${{ github.event.inputs.branch }} # Once all tests have passed, run semantic versioning version: @@ -119,3 +121,4 @@ jobs: needs: [publish] with: test-published-packages: true + branch: ${{ github.event.inputs.branch }}