From 349e8a9203d9f1c2c2130147f0a6e72bfc4c1419 Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Fri, 11 Oct 2024 18:51:02 +0200 Subject: [PATCH] Refactor branch validation in build workflow --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9cb2b6e29..ead4c5b87 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,7 +74,7 @@ jobs: git branch git status git branch --show-current - if [[ $(git branch --show-current) != ${{ inputs.update_branch }} ]]; then + if [[ $(git branch --show-current) != "zen-${{ inputs.update_branch }}" ]]; then echo ">>> Branch mismatch" exit 1 else