Skip to content

Commit bb0e601

Browse files
authored
Merge pull request #32 from github/salsa
attempting for SLSA L3
2 parents 14ec4c5 + 12dc77c commit bb0e601

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ on:
55
tags:
66
- "*"
77

8-
permissions:
9-
contents: write
10-
id-token: write
11-
attestations: write
8+
permissions: {}
129

1310
jobs:
1411
release:
12+
permissions:
13+
contents: write
1514
runs-on: ubuntu-latest
1615

1716
steps:
@@ -34,6 +33,26 @@ jobs:
3433
env:
3534
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3635

37-
- uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # pin@v2
36+
- name: upload artifact
37+
uses: actions/[email protected]
3838
with:
39-
subject-path: "dist/"
39+
name: gh-combine
40+
path: dist/
41+
42+
sign:
43+
needs: release
44+
permissions:
45+
id-token: write
46+
attestations: write
47+
contents: read
48+
uses: github/salsa/.github/workflows/sign-artifact.yml@main
49+
with:
50+
name: gh-combine
51+
artifact-path: dist/
52+
53+
verify:
54+
needs: sign
55+
uses: github/salsa/.github/workflows/verify.yml@main
56+
with:
57+
name: gh-combine
58+
artifact-path: dist/

0 commit comments

Comments
 (0)