From bbe43a2a0aacce81b512f0efcfc1ca0d65644771 Mon Sep 17 00:00:00 2001 From: dan-mm Date: Mon, 30 Oct 2023 14:30:21 +0100 Subject: [PATCH] try fixed query v4 - better escape --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index af1e2588..430feaa4 100644 --- a/action.yml +++ b/action.yml @@ -183,7 +183,7 @@ runs: echo "DMM---" echo "$query" - RESPONSE=$(curl -H "Authorization: bearer ${{ github.token }}" -X POST -d "{\"query:\" \"$query\"}" https://api.github.com/graphql) + RESPONSE=$(curl -H "Authorization: bearer ${{ github.token }}" -X POST -d "{\"query\":\"$query\"}" https://api.github.com/graphql) echo "$RESPONSE" # Extract and print the comments COMMENT1=$(echo $RESPONSE | jq .)