Skip to content

Commit

Permalink
chore(ci): Add attestations to package build
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jan 27, 2025
1 parent 18e9de5 commit 050a862
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ jobs:
build-package:
name: Build & verify package
runs-on: ubuntu-latest
permissions:
attestations: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v2
with:
# Always true, but we will likely want to reuse this job in PR builds
attest-build-provenance-github: ${{ github.event_name != 'pull_request' }}

auto-release-test-pypi:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 050a862

Please sign in to comment.