Skip to content

Pin datadog-ci to v3 for v1.2.4 action release#52

Merged
colemaring merged 1 commit intomainfrom
cole.maring/pinv3
Oct 9, 2025
Merged

Pin datadog-ci to v3 for v1.2.4 action release#52
colemaring merged 1 commit intomainfrom
cole.maring/pinv3

Conversation

@colemaring
Copy link
Collaborator

@colemaring colemaring commented Oct 8, 2025

Motivation

Users of action v1.2.4 release should see a warning message when using the Sarif upload command from datadog-ci on pull_request events.

Testing Methodology

To ensure that the RUN npm install -g @datadog/datadog-ci@^3 && npm list -g @datadog/datadog-ci actually pins to datadog-ci@v3 even when datadog-ci@v4 is released, I've set up the following test:

  1. Build image locally referencing an older version (v2)RUN npm install -g @datadog/datadog-ci@^2 && npm list -g @datadog/datadog-ci
  2. Run npm list -g @datadog/datadog-ci in container
  3. Verify output is still referencing that older version @datadog/datadog-ci@2.48.0, even though a new version exists 3.22.2
Screenshot 2025-10-09 at 1 29 27 PM

This confirms that we can pin to v3 even when v4 exists (in the future)

Copy link
Contributor

@jasonforal jasonforal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job with the testing of this!

@colemaring
Copy link
Collaborator Author

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Oct 9, 2025

View all feedbacks in Devflow UI.

2025-10-09 19:08:48 UTC ℹ️ Start processing command /merge


2025-10-09 19:08:54 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 0s (p90).


2025-10-09 19:21:40 UTC ℹ️ MergeQueue: This merge request was already merged

This pull request was merged directly.

@colemaring colemaring merged commit 4b0a609 into main Oct 9, 2025
2 checks passed
@colemaring colemaring deleted the cole.maring/pinv3 branch October 9, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants