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 43
43
runs-on : ubuntu-20.04
44
44
needs : artifacts-darwin
45
45
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
46
52
steps :
47
53
- uses : actions/checkout@v4
48
54
- uses : actions/download-artifact@v4
@@ -95,6 +101,10 @@ jobs:
95
101
- - -
96
102
Release manager: [ADD YOUR NAME HERE] (@[ADD YOUR GITHUB ID HERE])`
97
103
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/*
98
108
- name : " Create release"
99
109
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
100
110
env :
You can’t perform that action at this time.
0 commit comments