feat: optionally disable branch check for testing

This commit is contained in:
2025-11-05 14:23:34 -05:00
parent 7cc88a68b4
commit 7c38dc2649
+8 -1
View File
@@ -29,6 +29,9 @@ inputs:
docker-tag:
description: Docker image tag
required: true
disable-branch-check:
description: Optionally disable branch check
default: "false"
runs:
using: composite
@@ -57,7 +60,11 @@ runs:
TARGET_BRANCH=develop
else
echo "Unknown target branch. We are not coming from main, master, nor develop branch."
exit 1
if [ "${{ inputs.disable-branch-check }}" != "false" ]; then
exit 1
else
TARGET_BRANCH=develop
fi
fi
export TARGET_BRANCH