diff --git a/.github/workflows/infracost.yml b/.github/workflows/infracost.yml index 140354d..c49e907 100644 --- a/.github/workflows/infracost.yml +++ b/.github/workflows/infracost.yml @@ -121,11 +121,11 @@ jobs: if [[ ${{ github.event.pull_request.merged }} = false ]]; then PR_STATUS="CLOSED"; fi echo "Updating status of ${{ github.event.pull_request.html_url }} to $PR_STATUS" - curl \ + curl -i \ --request POST \ --header "Content-Type: application/json" \ --header "X-API-Key: $INFRACOST_API_KEY" \ - --data "{ \"query\": \"mutation {updatePullRequestStatus( url: \"${{ github.event.pull_request.html_url }}\", status: $PR_STATUS )}\" }" \ + --data "{ \"query\": \"mutation {updatePullRequestStatus( url: \\\"${{ github.event.pull_request.html_url }}\\\", status: $PR_STATUS )}\" }" \ "https://dashboard.api.infracost.io/graphql"; env: INFRACOST_API_KEY: ${{ secrets.INFRACOST_API_KEY }}