Skip to content

Commit 305085a

Browse files
committed
Switch to immutable releases
See #206
1 parent 62ada80 commit 305085a

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/build-all.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -763,22 +763,9 @@ jobs:
763763
- name: Publish Release
764764
uses: ncipollo/release-action@v1
765765
with:
766-
allowUpdates: true
766+
immutableCreate: true
767767
bodyFile: RELEASE.md
768768
token: ${{ secrets.GITHUB_TOKEN }}
769769
name: PDFium ${{ github.event.inputs.version }}
770770
tag: ${{ github.event.inputs.branch }}
771771
artifacts: pdfium-*.tgz
772-
773-
provenance:
774-
needs: [publish]
775-
permissions:
776-
actions: read # To read the workflow path.
777-
id-token: write # To sign the provenance.
778-
contents: write # To add assets to a release.
779-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
780-
with:
781-
base64-subjects: ${{ needs.publish.outputs.hashes }}
782-
upload-assets: true
783-
upload-tag-name: ${{ needs.publish.outputs.tagname }}
784-
provenance-name: pdfium-binaries.intoto.jsonl

0 commit comments

Comments
 (0)