Skip to content

fix(dd-octo-sts): pin org/repo IDs in publish policy subject_pattern - #46

Merged
jfree merged 1 commit into
mainfrom
jfree/pin-octo
Sep 9, 2026
Merged

fix(dd-octo-sts): pin org/repo IDs in publish policy subject_pattern#46
jfree merged 1 commit into
mainfrom
jfree/pin-octo

Conversation

@jfree

@jfree jfree commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The ddoghq org includes numeric org/repo IDs in the OIDC sub claim (repo:ddoghq@230443989/datadog-client-plugin@1348581382:ref:...) rather than plain names, which breaks the trust policy's subject_pattern — see ddoghq/datadog-client-plugin#277.
  • This repo mirrors datadog-client-plugin's public-repo-files/.../datadog-client-plugin.publish.sts.yaml, so it hits the same mismatch. Applies the identical fix here.

Test plan

  • Merge to main and confirm the next v*-public release tag's dd-octo-sts token exchange succeeds

🤖 Generated with Claude Code

The ddoghq org includes numeric org/repo IDs in the OIDC sub claim
(repo:ddoghq@230443989/datadog-client-plugin@1348581382:ref:...) rather
than plain names, which breaks the release trust policy's
subject_pattern (see ddoghq/datadog-client-plugin#277). Applies the
same fix here since this file mirrors that repo's public-repo-files
policy.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jfree
jfree requested a review from a team as a code owner August 28, 2026 04:10
@jfree
jfree merged commit b58f4ce into main Sep 9, 2026
@jfree
jfree deleted the jfree/pin-octo branch September 9, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant