Skip to content

Commit

Permalink
try fixed query v4 - better escape
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-mm committed Oct 30, 2023
1 parent 1a9b9e7 commit bbe43a2
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 bbe43a2

Please sign in to comment.