Skip to content

Migrate release tag push to dd-octo-sts#12

Merged
nikita-tkachenko-datadog merged 1 commit into
mainfrom
nikita.tkachenko/tag-protection
Mar 12, 2026
Merged

Migrate release tag push to dd-octo-sts#12
nikita-tkachenko-datadog merged 1 commit into
mainfrom
nikita.tkachenko/tag-protection

Conversation

@nikita-tkachenko-datadog

Copy link
Copy Markdown
Collaborator

Summary

  • Migrates the update-major-tag job in the release workflow from GITHUB_TOKEN to dd-octo-sts for tag push authentication
  • Adds a dd-octo-sts trust policy (.github/chainguard/self.release.update-major-tag.sts.yaml) scoped to the release workflow on tag pushes
  • Required because org-wide tag protection (effective 2026-04-01) will block GITHUB_TOKEN from creating/updating tags on public repos

See: https://datadoghq.atlassian.net/wiki/spaces/SECENG/pages/6360924697/GitHub+Org-wide+Tag+Protection

Test plan

  • Merge this PR to main (so the trust policy is on the default branch)
  • Create a test release tag (e.g. v0.0.1-test) and verify the release workflow succeeds
  • Verify the floating major tag (e.g. v0) is updated correctly

🤖 Generated with Claude Code

Starting 2026-04-01, org-wide tag protection will block GITHUB_TOKEN
from creating/updating tags on public repos. Switch the update-major-tag
job to use dd-octo-sts for authentication, which is on the bypass list.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@nikita-tkachenko-datadog
nikita-tkachenko-datadog marked this pull request as ready for review March 12, 2026 12:18
@nikita-tkachenko-datadog
nikita-tkachenko-datadog merged commit 704626a into main Mar 12, 2026
18 checks passed
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.

2 participants