diff --git a/bin/upload_sarif_to_github b/bin/upload_sarif_to_github index f981d3a..e27434a 100755 --- a/bin/upload_sarif_to_github +++ b/bin/upload_sarif_to_github @@ -48,7 +48,7 @@ elif [[ "$BUILDKITE_BRANCH" == "$BUILDKITE_PIPELINE_DEFAULT_BRANCH" ]]; then --rawfile sarif "$sarif_base64_temp_file" \ '{ "commit_sha": $commit_sha, - "ref": ("refs/heads/$branch"), + "ref": ("refs/heads/"+$branch), "sarif": $sarif }') else