diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b294c1b4a..443474067 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,19 +29,13 @@ permissions: {} jobs: package: runs-on: ubuntu-latest - # Required by attest-build-provenance-github. - permissions: - id-token: write - attestations: write steps: - uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false - name: Build and Check Package - uses: hynek/build-and-inspect-python-package@v2.5.0 - with: - attest-build-provenance-github: 'true' + uses: hynek/build-and-inspect-python-package@v2.4.0 build: needs: [package] diff --git a/changelog/12333.trivial.rst b/changelog/12333.trivial.rst new file mode 100644 index 000000000..ce609f1a5 --- /dev/null +++ b/changelog/12333.trivial.rst @@ -0,0 +1 @@ +pytest releases are now attested using the recent `Artifact Attestation ` support from GitHub, allowing users to attest the package provenance.