diff --git a/.ci-scripts/lint.sh b/.ci-scripts/lint.sh index 682abc331750f93baa781513acb21342b65cc181..e351356b3847e0209865f7aa2da98a6000c95c2b 100644 --- a/.ci-scripts/lint.sh +++ b/.ci-scripts/lint.sh @@ -1,7 +1,7 @@ #!/bin/bash -jq --null-input --arg yaml "$1" '.content=$yaml' \ - | curl "https://git.ethitter.com/api/v4/ci/lint?include_merged_yaml=true" \ +jq --null-input --arg yaml "$(<$1)" '.content=$yaml' \ + | curl "https://git.ethitter.com/api/v4/projects/:id/ci/lint?include_merged_yaml=true" \ --silent \ --header 'Content-Type: application/json' \ --header "PRIVATE-TOKEN: $GITLAB_API_PAT" \