Pin default datadog-ci and add local bump/release scripts#54
Merged
juan-fernandez merged 8 commits intomainfrom Apr 27, 2026
Merged
Pin default datadog-ci and add local bump/release scripts#54juan-fernandez merged 8 commits intomainfrom
juan-fernandez merged 8 commits intomainfrom
Conversation
BridgeAR
reviewed
Apr 23, 2026
Member
BridgeAR
left a comment
There was a problem hiding this comment.
The change is LGTM. This has the benefit of preventing the http request necessary at the moment.
Could we add a test for the default behavior as well?
| | `extra-args` | Extra args to be passed to the datadog-ci junit upload command. | False | | | ||
|
|
||
| This action passes the workflow `github.token` to the install step by default. That is primarily useful when `datadog-ci-version` uses a floating release selector such as `v5`, because GitHub release resolution can then be authenticated. To avoid depending on latest-within-major resolution, pin an exact `datadog-ci` version such as `v5.6.0` or `5.6.0`. | ||
| By default, this action installs the exact `datadog-ci` release pinned by the action version you use. To receive `datadog-ci` updates, update `datadog/junit-upload-github-action` to a newer release. |
Member
There was a problem hiding this comment.
Suggested change
| By default, this action installs the exact `datadog-ci` release pinned by the action version you use. To receive `datadog-ci` updates, update `datadog/junit-upload-github-action` to a newer release. | |
| By default, this action installs the exact `datadog-ci` release pinned by the action version you use. To receive `datadog-ci` updates, update `datadog/junit-upload-github-action` to a newer release or use | |
| the `datadog-ci-version` configuration to specify the version or range. |
daniel-mohedano
approved these changes
Apr 27, 2026
This was referenced Apr 27, 2026
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.
Summary
datadog-ci-versiontov5.14.0instead of the floatingv5selector.scripts/bump-datadog-ci-version.shsoaction.yamlandREADME.mdstay in sync when the defaultdatadog-civersion changes.gh-based maintainer flow:scripts/create-datadog-ci-bump-pr.shchecks for a newerDataDog/datadog-cirelease and opens a labeled bump PR.scripts/release-datadog-ci-bump.shcreates the next immutable action release tag, updates the moving major tag, and creates the GitHub Release.RELEASE.mdand link to it from the README.Situation today
Users without a
datadog-ci-versioninput installv5, which means:Users with a
datadog-ci-versioninput:Proposed model
This PR pins the default value of
datadog-ci-versionand adds a maintainer flow to track updates to that default, so there can be ajunit-upload-github-actionrelease for eachdatadog-cirelease.The main advantage is that it is becoming more common to pin actions to a specific SHA or version, and automations like Dependabot already know how to update those references. The same end result is possible today by updating the
datadog-ci-versioninput directly, but that is action-specific configuration and generic update tooling will usually miss it.Situation after this change
Users without a
datadog-ci-versioninput install whatever version is the default for that version ofjunit-upload-github-action, which means:junit-upload-github-actionautomaticallydatadog-ciis gated by an explicit action updateUsers with a
datadog-ci-versioninput:Maintainer flow
scripts/create-datadog-ci-bump-pr.shlocally from a clean working tree.datadog-ci-version-bumplabel.scripts/release-datadog-ci-bump.shlocally to publish the action release.Release behavior:
--pr <number>or--sha <commit>before releasing the latest one.