-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
Description
Introduction
Ever since latest merge, all Codacy GHAs are failing with same error messages (testes on numerous public repositories).
Error: line 8: syntax error: unexpected end of file
Run echo "CODACY_BASE_URL_OR_DEFAULT=$(if [ ]; then echo ""; else echo "https://api.codacy.com/"; fi)" >> $GITHUB_ENV
echo "CODACY_BASE_URL_OR_DEFAULT=$(if [ ]; then echo ""; else echo "https://api.codacy.com/"; fi)" >> $GITHUB_ENV
echo "OWNER_NAME=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 1)" >> $GITHUB_ENV
echo "REPOSITORY_NAME=$(echo $GITHUB_REPOSITORY | cut -d '/' -f 2)" >> $GITHUB_ENV
echo "ORGANIZATION_PROVIDER=$(if [ "$GITHUB_SERVER_URL" == "https://github.com" ]; then echo "gh"; else echo "ghe"; fi)" >> $GITHUB_ENV
echo "COMMIT_SHA=$(if [ pull_request == "pull_request" ]; then echo "0ad579b700a2694690164bd5a80b71cc0e6891fe"; else echo "d72a73cd0a4ca22ec081e4d3[12](https://github.com/UK-Export-Finance/exip/actions/runs/4833369723/jobs/8613291873?pr=451#step:3:13)674652acbbb5ca"; fi)" >> $GITHUB_ENV
if [ -n "" ]; then
echo "SKIP_CONTAINER_ENGINE_CHECK=" >> $GITHUB_ENV
e08742c6-7c79-42f1-8745-7acba0104a6e.sh: line 8: syntax error: unexpected end of file
Reactions are currently unavailable