File tree Expand file tree Collapse file tree 5 files changed +27
-5
lines changed
Expand file tree Collapse file tree 5 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ jobs:
3939 - name : " Attest provenance"
4040 uses : actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
4141 id : attest-provenance
42- if : " ${{ github.event. inputs.attest }}"
42+ if : " ${{ inputs.attest }}"
4343 with :
4444 subject-path : ' mix_dependency_submission'
4545 - name : " Copy provenance"
46- if : " ${{ github.event. inputs.attest }}"
46+ if : " ${{ inputs.attest }}"
4747 run : cp "$ATTESTATION" mix_dependency_submission.sigstore
4848 env :
4949 ATTESTATION : " ${{ steps.attest-provenance.outputs.bundle-path }}"
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ jobs:
3838 - name : " Attest docs provenance"
3939 uses : actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
4040 id : attest-docs-provenance
41- if : " ${{ github.event. inputs.attest }}"
41+ if : " ${{ inputs.attest }}"
4242 with :
4343 subject-path : ' docs.tar.gz'
4444 - name : " Copy docs provenance"
45- if : " ${{ github.event. inputs.attest }}"
45+ if : " ${{ inputs.attest }}"
4646 run : cp "$ATTESTATION" docs.tar.gz.sigstore
4747 env :
4848 ATTESTATION : " ${{ steps.attest-docs-provenance.outputs.bundle-path }}"
Original file line number Diff line number Diff line change 6666 env :
6767 GITHUB_TOKEN : ${{ github.token }}
6868 run : |
69- gh release upload --clobber "${{ inputs.releaseName }}" \
69+ gh release upload \
70+ --repo ${{ github.repository }} \
71+ --clobber "${{ inputs.releaseName }}" \
7072 docs.tar.gz* mix_dependency_submission*
Original file line number Diff line number Diff line change @@ -11,11 +11,21 @@ permissions:
1111jobs :
1212 build :
1313 name : " Build"
14+
15+ permissions :
16+ id-token : write
17+ contents : read
18+ attestations : write
1419
1520 uses : ./.github/workflows/part_build.yml
1621
1722 docs :
1823 name : " Docs"
24+
25+ permissions :
26+ id-token : write
27+ contents : read
28+ attestations : write
1929
2030 uses : ./.github/workflows/part_docs.yml
2131
Original file line number Diff line number Diff line change @@ -11,11 +11,21 @@ permissions:
1111jobs :
1212 build :
1313 name : " Build"
14+
15+ permissions :
16+ id-token : write
17+ contents : read
18+ attestations : write
1419
1520 uses : ./.github/workflows/part_build.yml
1621
1722 docs :
1823 name : " Docs"
24+
25+ permissions :
26+ id-token : write
27+ contents : read
28+ attestations : write
1929
2030 uses : ./.github/workflows/part_docs.yml
2131
You can’t perform that action at this time.
0 commit comments