Skip to content

Commit 3549c31

Browse files
Kaycellclaude
andauthored
AAWF-694: Add dd-octo-sts trust policy for v2 branch releases (#3955)
The release workflow on the v2 branch references policy self.github.release.v2 which didn't exist, causing split package releases to fail with "unable to find trust policy". Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f76f7e8 commit 3549c31

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Trust policy for creating releases on v2 branch
2+
# Restricted to v2 branch (protected ref) for security
3+
# Will be called in release.yml
4+
issuer: https://token.actions.githubusercontent.com
5+
subject: repo:DataDog/datadog-api-client-typescript:pull_request
6+
7+
claim_pattern:
8+
event_name: pull_request
9+
job_workflow_ref: DataDog/datadog-api-client-typescript/\.github/workflows/release\.yml@refs/heads/v2
10+
repository: DataDog/datadog-api-client-typescript
11+
ref: refs/heads/v2
12+
13+
permissions:
14+
contents: write

0 commit comments

Comments
 (0)