Skip to content

Commit

Permalink
try fixed query v3 - better escape
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-mm committed Oct 30, 2023
1 parent 5180a28 commit 1a9b9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .)
Expand Down

0 comments on commit 1a9b9e7

Please sign in to comment.