Use DD Octo STS for release tags#24535
Draft
dkirov-dd wants to merge 14 commits into
Draft
Conversation
5 tasks
Contributor
Validation ReportAll 21 validations passed. Show details
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Uses a repository-scoped DD Octo STS token to push integration release tags instead of the default
GITHUB_TOKEN.Tags are created and validated locally first. The workflow requests a write token only when new tags need pushing and the run is not a dry run, then pushes only those tags atomically. A shallow, tagless credential checkout preserves the local tags. The job summary shows prepared or pushed tags.
Adds the integrations-core
self.release.tag-pushtrust policy. DataDog/integrations-extras#3059 and DataDog/marketplace#1666 must merge before this PR.Motivation
Ruleset 13532795 rejected
lustre-1.5.1b1in run 29262592476 becausegithub-actions[bot]cannot create protected tags. DD Octo STS is an approved App for this ruleset; conditional token creation also avoids consuming App quota on dry runs and no-op releases.The release-script suite passes with 115 tests, and
ddev test -fs ddevpasses.Review checklist (to be filled by reviewers)
qa/skip-qabecause this release-tooling change has no Agent runtime impactbackport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged