Refactor branch validation in build workflow

This commit is contained in:
mr. M
2024-10-11 18:51:02 +02:00
parent 150f092e9a
commit 349e8a9203

View File

@@ -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