We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5121baa commit 76366d3Copy full SHA for 76366d3
1 file changed
action.yml
@@ -48,7 +48,10 @@ runs:
48
API_BASE: ${{ inputs.api_base }}
49
run: |
50
set -e
51
- if [ "$API_BASE" = "https://api.codeant.ai" ]; then
+ echo "API_BASE value: '${API_BASE}'"
52
+ # Remove trailing slash if present for comparison
53
+ API_BASE_CLEAN="${API_BASE%/}"
54
+ if [[ "$API_BASE_CLEAN" == "https://api.codeant.ai" ]]; then
55
echo "Decoding base64 encoded script..."
56
if ! base64 -d quality_gates.sh.b64 > quality_gates.sh; then
57
echo "Error: Failed to decode quality gates script"
0 commit comments