Skip to content

Commit ddf31f1

Browse files
committed
chore: add trust policy for testing weekly reset job
1 parent 6cb6ab6 commit ddf31f1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
issuer: https://gitlab.ddbuild.io
2+
3+
# Allow this policy for pipelines on the main branch of this repository
4+
#subject: 'project_path:DataDog/commit-headless:ref_type:branch:ref:main'
5+
subject: 'project_path:DataDog/commit-headless:ref_type:branch:ref:test-weekly-reset'
6+
7+
claim_pattern:
8+
ref_protected: "true"
9+
pipeline_source: 'schedule|push' # TODO: verify sources for manually executed jobs
10+
11+
# Only allow this policy to pipelines defined in the root .gitlab-ci.yml
12+
ci_config_ref_uri: 'gitlab\.ddbuild\.io/DataDog/commit-headless//\.gitlab-ci\.ya?ml@.*'
13+
14+
permissions:
15+
# For creating the staging-reset commit
16+
contents: write
17+
18+
# For creating, approving, and merging the pull request
19+
pull_requests: write

0 commit comments

Comments
 (0)