Skip to content

Commit 83ece28

Browse files
Merge pull request #519 from DataDog/fix/release-tag-policy
fix(ci): correct release-tag trust policy claims
2 parents 1903083 + fc18200 commit 83ece28

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/chainguard/release-tag.sts.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ issuer: https://token.actions.githubusercontent.com
33
subject: repo:DataDog/pup:pull_request
44

55
claim_pattern:
6+
base_ref: main
67
event_name: pull_request
7-
job_workflow_ref: DataDog/pup/\.github/workflows/release-tag\.yml@refs/pull/[0-9]+/merge
8-
ref: refs/pull/[0-9]+/merge
8+
head_ref: release/v[0-9]+\.[0-9]+\.[0-9]+
9+
job_workflow_ref: DataDog/pup/\.github/workflows/release-tag\.yml@refs/heads/main
10+
ref: refs/heads/main
911
repository: DataDog/pup
1012

1113
permissions:

0 commit comments

Comments
 (0)