Codex/skip dependabot integration tests - #52
Open
soe-relewise wants to merge 2 commits into
Open
Conversation
mzanoni
requested changes
Aug 4, 2026
mzanoni
left a comment
Contributor
There was a problem hiding this comment.
Can we allow dependabot to get the secrets instead of this workaround?
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.
https://trello.com/c/mohcRXYf/21181-skip-integration-tests-in-dependabot-builds-for-the-java-sdk
Summary
TestBaseas integration tests because they requireDATASET_IDandAPI_KEY.integrationgroup for Dependabot-triggered builds.actions/setup-javato v5.6.0 anddorny/test-reporterto v3.Superseded Dependabot PRs
This PR includes the changes from #48 and #49, which were closed without merging:
actions/setup-javafrom v4 to v5.6.0.dorny/test-reporterfrom v1 to v3.Those Dependabot branches appeared to fail because the existing CI workflow ran credential-dependent integration tests. Dependabot-triggered workflows intentionally do not receive the repository's
DATASET_IDandAPI_KEY, so the failures did not necessarily indicate incompatibilities in the upgraded actions.The action upgrades were folded into this human-authored PR so they can be validated by the normal CI path, including the full integration suite with the existing repository secrets. This also avoids merging the CI fix first and then resolving overlapping workflow changes when applying the two dependency upgrades separately.
Security rationale
The integration credentials are a dataset ID and Master API key for real customer datasets. They are not made available to Dependabot. Dependabot builds still generate and compile the SDK and run all tests that do not require those credentials.
Validation
git diff --checkpassed.