Skip to content

Commit 5231c15

Browse files
authored
ci: undo debugging changes to chainguards (#1620)
# What does this PR do? Undo changes made to chainguards in oder to be able to run the jobs from feature branches. Co-authored-by: julio.gonzalez <julio.gonzalez@datadoghq.com>
1 parent c8121f4 commit 5231c15

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

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

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

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

99
permissions:
1010
members: read

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

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

55
claim_pattern:
6-
ref: "refs/heads/(main|release|igor/.*|julio/.*)"
7-
# TODO: commented to debug changelog generation.
8-
# ref_protected: "true"
9-
# job_workflow_ref: DataDog/libdatadog/\.github/workflows/release-proposal-dispatch\.yml@.+
6+
ref: "refs/heads/(main|release)"
7+
ref_protected: "true"
8+
job_workflow_ref: DataDog/libdatadog/\.github/workflows/release-proposal-dispatch\.yml@.+
109

1110
permissions:
1211
contents: write

0 commit comments

Comments
 (0)