We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c44766 commit 06e2181Copy full SHA for 06e2181
.github/workflows/msdo-trufflehog.yml
@@ -87,12 +87,12 @@ EOF
87
gzip -c trufflehog.sarif | base64 -w 0 > trufflehog.sarif.base64
88
encoded_sarif=$(cat trufflehog.sarif.base64)
89
90
- curl -s -X POST \
+ cat <<EOF | curl -s -X POST \
91
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
92
-H "Accept: application/vnd.github+json" \
93
-H "Content-Type: application/json" \
94
https://api.github.com/repos/${{ github.repository }}/code-scanning/sarifs \
95
- -d @- <<EOF
+ -d @-
96
{
97
"commit_sha": "${{ github.sha }}",
98
"ref": "${{ github.ref }}",
0 commit comments