Skip to content

Commit 06e2181

Browse files
Update msdo-trufflehog.yml
1 parent 5c44766 commit 06e2181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/msdo-trufflehog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ EOF
8787
gzip -c trufflehog.sarif | base64 -w 0 > trufflehog.sarif.base64
8888
encoded_sarif=$(cat trufflehog.sarif.base64)
8989
90-
curl -s -X POST \
90+
cat <<EOF | curl -s -X POST \
9191
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
9292
-H "Accept: application/vnd.github+json" \
9393
-H "Content-Type: application/json" \
9494
https://api.github.com/repos/${{ github.repository }}/code-scanning/sarifs \
95-
-d @- <<EOF
95+
-d @-
9696
{
9797
"commit_sha": "${{ github.sha }}",
9898
"ref": "${{ github.ref }}",

0 commit comments

Comments
 (0)