File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 13
13
release :
14
14
runs-on : ubuntu-24.04
15
15
timeout-minutes : 40
16
+ # The maximum access is "read" for PRs from public forked repos
17
+ # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
18
+ permissions :
19
+ contents : write # for releases
20
+ id-token : write # for provenances
21
+ attestations : write # for provenances
16
22
steps :
17
23
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
24
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
39
45
- - -
40
46
Release manager: [ADD YOUR NAME HERE] (@[ADD YOUR GITHUB ID HERE])
41
47
EOF
48
+ - name : " Generate artifact attestation"
49
+ uses : actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
50
+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
51
+ with :
52
+ subject-path : _output/*
42
53
- name : " Create release"
43
54
env :
44
55
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments