Skip to content

Commit fe0397c

Browse files
authored
Merge pull request #659 from DataDog/ulysse.mavrocordatos/AAWF-1384/octo-sts-merge-dependents-policy
Add octo-sts trust policy for datadog-api-spec merge-dependents
2 parents b4deb0f + 54c5c0a commit fe0397c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Policy for: .github/workflows/merge-queue.yml (pipeline merge-dependents step) in DataDog/datadog-api-spec.
2+
# Sibling to datadog-api-spec.ci-cd.generate: that policy trusts the PR-time generation workflow
3+
# (ci-cd.yml on pull_request); this one trusts the merge-queue workflow that, at merge time, repoints
4+
# pup's Cargo.toml at the just-merged Rust client commit and merges pup's generated PR.
5+
issuer: https://token.actions.githubusercontent.com
6+
subject_pattern: repo:DataDog/datadog-api-spec:ref:refs/heads/mq-working-branch-.*
7+
8+
claim_pattern:
9+
event_name: push
10+
ref: refs/heads/mq-working-branch-.*
11+
job_workflow_ref: DataDog/datadog-api-spec/\.github/workflows/merge-queue\.yml@.*
12+
repository: DataDog/datadog-api-spec
13+
14+
permissions:
15+
contents: write
16+
pull_requests: write

0 commit comments

Comments
 (0)