Repository navigation
Conversation
Both scan lanes pin maven-build-action v0.4.3, which ran s4u/setup-maven-action after its own setup-java. s4u installs a JDK of its own, Zulu by default, and v0.4.3 never passed 'distribution' through, so every Maven build in either lane ran on Zulu whatever java_distribution asked for. The lanes default that input to 'temurin', so the default was never honoured either. v0.5.2 installs Maven with stCarolas/setup-maven and leaves the JDK to the requested distribution. Builds keep the same Java major version, now from the distribution java_distribution names. The action's inputs and defaults are unchanged between the two releases. v0.5.1 also rejects altDeploymentRepository and its snapshot and release variants in mvn-params and mvn-opts. No caller of either lane passes them; the scan lanes do not deploy. Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions
requested review from
a team
and
a balanced review from Copilot
October 7, 2026 23:32
There was a problem hiding this comment.
🟢 Approval recommended
Both pins match the intended release commit, with compatible inputs and no identified blocking issues.
0 open findings
What changed in this PR
Updates the Maven build dependency in both security scan workflows so builds honor java_distribution, defaulting to Temurin rather than Zulu.
Changes:
- Upgrades
maven-build-actionfrom v0.4.3 to v0.5.2. - Pins both callers to the release commit without changing workflow inputs.
| File | Description |
|---|---|
.github/workflows/sonatype-lifecycle.yaml |
Updates the Maven action pin for Lifecycle scans. |
.github/workflows/sonarqube-cloud.yaml |
Updates the Maven action pin for SonarCloud scans. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
This was referenced Oct 7, 2026
askb
approved these changes
Oct 8, 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
Moves both scan lanes from
maven-build-actionv0.4.3 to v0.5.2, pinned to the release commit01a3700erather than the annotated tag object.Why
v0.4.3 ran
s4u/setup-maven-actionafter its ownsetup-java.s4uinstalls a JDK of its own (Zulu by default), and v0.4.3 never passeddistributionthrough. So every Maven build insonatype-lifecycleandsonarqube-cloudran on Zulu, whateverjava_distributionasked for, and both lanes default that input totemurin. maven-build-action#166 fixed this in v0.5.2.Behaviour change
java_distributionnames, by default Temurin rather than Zulu, at the same Java major version.altDeploymentRepositoryand its snapshot and release variants inmvn-params/mvn-opts. I read every caller workflow (97 calls across ONAP and OpenDaylight); none passes them, and the scan lanes don't deploy.Dependabot's seven-day cooldown would offer this around 2026-10-09. It's taken by hand now so v0.9.3 can carry the fix.
Validation
prekon both files,zizmor --persona=auditor(online): no findings,tests/workflow-steps.sh: 83 cases pass, aislop gate: clean.testing.yaml, which Fix(testing): Let the credentialled self-test start #134 unblocks.