Skip to content

Commit bcc3c61

Browse files
committed
ci: allow chainguards to work from a branch
1 parent 89cb9da commit bcc3c61

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/chainguard/self.read.members.sts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ issuer: https://token.actions.githubusercontent.com
33
subject_pattern: "repo:DataDog/libdatadog.*"
44

55
claim_pattern:
6-
ref: "refs/heads/(main|release|julio/.*)" # TODO: remove testing branch and uncomment ref_protected
6+
ref: "refs/heads/(main|release|julio/.*|igor/.*)" # TODO: remove testing branch and uncomment ref_protected
77
# ref_protected: "true" # TODO: uncomment once tested.
88

99
permissions:

.github/chainguard/self.write.pr.sts.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ issuer: https://token.actions.githubusercontent.com
33
subject_pattern: "repo:DataDog/libdatadog.*"
44

55
claim_pattern:
6-
ref: "refs/heads/(main|release)"
6+
ref: "refs/heads/(main|release|igor/.*|julio/.*)"
77
ref_protected: "true"
8+
email: ".*@datadoghq.com"
89
# job_workflow_ref: DataDog/libdatadog/\.github/workflows/release-proposal-dispatch\.yml@.+
910

1011
permissions:

0 commit comments

Comments
 (0)