Skip to content

Commit 960a084

Browse files
authored
Tweak the release and third-party trust policies (#1187)
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
1 parent fa41912 commit 960a084

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.chainguard/source.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ spec:
77
identities:
88
- issuer: https://accounts.google.com
99
- issuer: https://github.com/login/oauth
10+
- issuer: https://token.actions.githubusercontent.com
11+
subject: chainguard-dev/malcontent/.github/workflows/release.yaml@refs/heads/main
12+
- issuer: https://token.actions.githubusercontent.com
13+
subject: chainguard-dev/malcontent/.github/workflows/third-party.yaml@refs/heads/main
1014
- key:
1115
# allow commits signed by GitHub, e.g. the UI
1216
kms: https://github.com/web-flow.gpg

.github/chainguard/release.sts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
issuer: https://token.actions.githubusercontent.com
22
subject: repo:chainguard-dev/malcontent:ref:refs/heads/main
33
claim_pattern:
4-
job_workflow_ref: chainguard-dev/malcontent/.github/workflows/(version|release).yaml@.*
4+
workflow_ref: chainguard-dev/malcontent/.github/workflows/(version|release).yaml@refs/heads/main
55

66
permissions:
77
contents: write

.github/chainguard/third-party.sts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
issuer: https://token.actions.githubusercontent.com
22
subject: repo:chainguard-dev/malcontent:ref:refs/heads/main
33
claim_pattern:
4-
job_workflow_ref: chainguard-dev/malcontent/.github/workflows/third-party.yaml@.*
4+
workflow_ref: chainguard-dev/malcontent/.github/workflows/third-party.yaml@refs/heads/main
55

66
permissions:
77
contents: write

0 commit comments

Comments
 (0)