Skip to content

Commit

Permalink
chore: attest build provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Aug 8, 2024
1 parent 13b45d3 commit cfbced3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions project/.github/workflows/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
concurrency: release
permissions:
id-token: write
attestations: write
contents: write

steps:
Expand All @@ -124,6 +125,12 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Attest build build provenance
uses: actions/attest-build-provenance@v1
if: steps.release.outputs.released == 'true'
with:
subject-path: "dist/*"

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.release.outputs.released == 'true'
Expand Down

0 comments on commit cfbced3

Please sign in to comment.