From 439c9cb060c1163f7f14f26939919801c6042b64 Mon Sep 17 00:00:00 2001 From: Carlos <835129+cvscarlos@users.noreply.github.com> Date: Fri, 2 Oct 2026 17:43:16 +0700 Subject: [PATCH] fix(ci): pass major-tag input through env instead of shell interpolation --- .github/workflows/ci.update-major-version-tag.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.update-major-version-tag.yaml b/.github/workflows/ci.update-major-version-tag.yaml index 7f14ebd..b3ac9c5 100644 --- a/.github/workflows/ci.update-major-version-tag.yaml +++ b/.github/workflows/ci.update-major-version-tag.yaml @@ -27,8 +27,9 @@ jobs: fetch-depth: 0 - name: Extract major version id: version + env: + TAG_NAME: ${{ github.event.inputs.tag || github.event.release.tag_name || github.ref_name }} run: | - TAG_NAME="${{ github.event.inputs.tag || github.event.release.tag_name || github.ref_name }}" echo "Resolved tag: $TAG_NAME" if [[ ! "$TAG_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then echo "::notice::'$TAG_NAME' is not a release semver tag (vX.Y.Z); skipping major-tag update."