Skip to content

[TS-358] line 8: syntax error: unexpected end of file #113

Description

@abhi-markan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions