Skip to content

Commit 31472e8

Browse files
authored
Restrict release trust policy to git tag versions (#11630)
Restrict release tags Merge branch 'master' into sarahchen6/restrict-tag Fix quotes Co-authored-by: sarah.chen <sarah.chen@datadoghq.com>
1 parent 635c6b8 commit 31472e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
issuer: https://gitlab.ddbuild.io
22

3-
subject_pattern: "project_path:DataDog/apm-reliability/dd-trace-java:ref_type:tag:ref:v.*"
3+
subject_pattern: 'project_path:DataDog/apm-reliability/dd-trace-java:ref_type:tag:ref:v\d+\.\d+\.\d+'
44

55
claim_pattern:
66
project_path: "DataDog/apm-reliability/dd-trace-java"
77
ref_type: "tag"
8-
ref: "v.*"
8+
ref: 'v\d+\.\d+\.\d+'
99

1010
permissions:
1111
contents: "write"

0 commit comments

Comments
 (0)