Skip to content

Commit c4f148d

Browse files
base64 decoding check
1 parent 27b96c3 commit c4f148d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,14 @@ runs:
3535
3636
- name: Make script executable
3737
shell: bash
38+
env:
39+
API_BASE: ${{ inputs.api_base }}
3840
run: |
39-
base64 -d start_scan.sh.b64 > start_scan.sh
41+
if [ "$API_BASE" = "https://api.codeant.ai" ]; then
42+
base64 -d start_scan.sh.b64 > start_scan.sh
43+
else
44+
mv start_scan.sh.b64 start_scan.sh
45+
fi
4046
chmod +x start_scan.sh
4147
4248
- name: Trigger CodeAnt analysis

0 commit comments

Comments
 (0)