Skip to content

Commit

Permalink
Add python GitHub Attestations (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jul 25, 2024
1 parent 49bef07 commit 5ed619b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ runs:
shell: bash
run: |
echo "Dry run, not uploading to PyPI" >> $GITHUB_STEP_SUMMARY
- uses: actions/attest-build-provenance@v1
if: inputs.dry_run == 'false'
with:
subject-path: dist/*
- uses: actions/attest-sbom@v1
if: inputs.dry_run == 'false'
with:
subject-path: dist/*
sbom-path: ${{ env.RELEASE_ASSETS }}/cyclonedx.sbom.json
- name: Ensure a clean repo
shell: bash
run: |
Expand Down

0 comments on commit 5ed619b

Please sign in to comment.