Enable attestation of release builds
Per https://github.com/actions/attest-build-provenance Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
This commit is contained in:
parent
3e81fddb78
commit
6fa4486089
1 changed files with 6 additions and 1 deletions
7
.github/workflows/release-plz.yml
vendored
7
.github/workflows/release-plz.yml
vendored
|
@ -6,6 +6,8 @@ on:
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
contents: write
|
contents: write
|
||||||
|
id-token: write
|
||||||
|
attestations: write
|
||||||
jobs:
|
jobs:
|
||||||
release-plz:
|
release-plz:
|
||||||
name: Release-plz
|
name: Release-plz
|
||||||
|
@ -25,4 +27,7 @@ jobs:
|
||||||
uses: MarcoIeni/release-plz-action@v0.5
|
uses: MarcoIeni/release-plz-action@v0.5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_PAT }}
|
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_PAT }}
|
||||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
|
- uses: actions/attest-build-provenance@v1
|
||||||
|
with:
|
||||||
|
subject-path: target/release/libzip.rlib
|
||||||
|
|
Loading…
Add table
Reference in a new issue