Skip to content

Commit

Permalink
ci: Send file as raw data?
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Sep 17, 2024
1 parent a1d1037 commit 7b0c682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ jobs:
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
COMMENT_URL="https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}/comments"
echo "SENDING TO: $COMMENT_URL"
curl -s -H "Authorization: token ${GITHUB_TOKEN}" -X POST $COMMENT_URL -d "{ \"body\": \"\"\"$(cat validate_module_descriptor_errors.txt)\"\"\" }"
curl -s -H "Authorization: token ${GITHUB_TOKEN}" -X POST $COMMENT_URL --data-raw "@validate_module_descriptor_errors.txt"

0 comments on commit 7b0c682

Please sign in to comment.