Skip to content

Commit

Permalink
add bundle data
Browse files Browse the repository at this point in the history
  • Loading branch information
AEnguerrand committed Dec 16, 2024
1 parent a7b5f44 commit 8044f5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/slsa-generator-nodejs-custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ jobs:
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository }}/attestations \
-d "{\"value\": $(cat $ATTESTATION_PATH)}" \
-d "{\"value\": \"$(cat $ATTESTATION_PATH)\"}" \
-d "{\"value\": {\"bundle\": \"$(cat $ATTESTATION_PATH)\"}}" \
-w "%{http_code}" -o response.json)
http_code=$(jq -r '.status' response.json)
Expand Down

0 comments on commit 8044f5c

Please sign in to comment.