chore: skip serverless e2e on version-bump-only release commits#2335
Merged
ava-silver merged 1 commit intoMay 28, 2026
Conversation
This comment has been minimized.
This comment has been minimized.
ava-silver
marked this pull request as ready for review
May 28, 2026 15:06
Drarig29
approved these changes
May 28, 2026
ava-silver
deleted the
ava.silver/chore/skip-serverless-e2e-on-version-bump-only-release-commits
branch
May 28, 2026 15:48
Merged
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 and why?
Release PRs created by
yarn version:allonly bump the"version"field in everypackage.json. Becausepackages/base/package.jsonis in the path filters for the serverless e2e check jobs, those tests were always triggered on release commits even though no serverless code changed.Example: https://github.com/DataDog/datadog-ci/actions/runs/26580292541/job/78312089121?pr=2334
How?
Adds a
check-version-bump-onlyjob that:package.jsonfile was touched.+/-line matches"version": "X.Y.Z", the commit is version-bump-only.The
e2e-testjob'sSKIP_*_TESTSenv vars now also skip whencheck-version-bump-onlyreturnstrue.Manual testing
Tested the script logic against two real branches:
alejandro.fontan/release-v5.18.0(16package.jsonfiles, version fields only):PR #2333 (
tal.usvyatsky/datadog-ci-lambda-e2e-tests, real code changes):Review checklist