File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 4343 runs-on : ubuntu-20.04
4444 needs : artifacts-darwin
4545 timeout-minutes : 20
46+ # The maximum access is "read" for PRs from public forked repos
47+ # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
48+ permissions :
49+ contents : write # for releases
50+ id-token : write # for provenances
51+ attestations : write # for provenances
4652 steps :
4753 - uses : actions/checkout@v4
4854 - uses : actions/download-artifact@v4
@@ -95,6 +101,10 @@ jobs:
95101 - - -
96102 Release manager: [ADD YOUR NAME HERE] (@[ADD YOUR GITHUB ID HERE])`
97103 EOF
104+ - uses : actions/attest-build-provenance@v1
105+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
106+ with :
107+ subject-path : _artifacts/*
98108 - name : " Create release"
99109 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
100110 env :
You can’t perform that action at this time.
0 commit comments