Skip to content

Chore: Bump maven-build-action to v0.5.3 - #137

Merged
tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:chore/maven-build-action-0.5.3
Oct 8, 2026
Merged

tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:chore/maven-build-action-0.5.3

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

Why

maven-build-action v0.5.2 refuses any deploy-repository property in a caller's arguments. That includes a value naming the workspace m2repo, where the action deploys anyway.

Both lanes here forward the caller's mvn_opts and mvn_params to the action. Callers moving over from lfit/releng-reusable-workflows commonly carry -DaltDeploymentRepository=…file:"${GITHUB_WORKSPACE}"/m2repo in their options, which is that repository's default, so under v0.5.2 their builds fail before Maven runs.

v0.5.3 (lfreleng-actions/maven-build-action#170) warns on a value naming m2repo and still refuses one naming anywhere else. Pinning it keeps v0.5.2 out of any release of these workflows.

Change

Both maven-build-action uses move to v0.5.3, commit 0f09f8024307dbdba2f89286479e0e870f7065ff. That is the commit SHA, not the annotated tag object 287ee636….

  • .github/workflows/sonarqube-cloud.yaml, step "Maven build"
  • .github/workflows/sonatype-lifecycle.yaml, step "Build with Maven"

Between v0.5.2 and v0.5.3 only the deploy-repository check changed. Inputs, defaults and outputs are the same. Nothing in this repository's docs or comments describes that check, so nothing else needs updating.

Validation

  • prek run on both files: all hooks pass.
  • zizmor --persona auditor .: no findings.
  • aislop gate (aislop-gate.sh upstream/main): clean.

Commit is signed with DCO sign-off.

v0.5.2 refuses any deploy-repository property in a caller's
arguments, including one naming the workspace m2repo it deploys into
anyway. Both lanes forward the caller's mvn_opts and mvn_params to
the action, and callers coming from lfit/releng-reusable-workflows
commonly carry
-DaltDeploymentRepository=...file:"${GITHUB_WORKSPACE}"/m2repo
in them, so their builds would fail before Maven ran. v0.5.3 warns
on a value naming the m2repo and still refuses one naming anywhere
else.

Pinning v0.5.3 keeps v0.5.2 out of any release of these workflows.
Between the two releases only that check changed.

https://github.com/lfreleng-actions/maven-build-action/releases/tag/v0.5.3

Co-authored-by: Claude <[email protected]>
Signed-off-by: Matthew Watkins <[email protected]>
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions requested review from a team and a balanced review from Copilot October 8, 2026 21:47
@github-actions github-actions Bot added the chore Code chores (dependency updates, etc) label Oct 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

Both references consistently use the valid v0.5.3 commit targeted by the signed release tag.

0 open findings

What changed in this PR

Updates both Maven workflow lanes to the fixed maven-build-action release.

Changes:

  • Pins v0.5.3 by its verified commit SHA.
  • Preserves existing inputs and workflow behavior.
File Description
.github/​workflows/​sonatype-lifecycle.yaml Updates the Maven build action pin.
.github/​workflows/​sonarqube-cloud.yaml Updates the Maven build action pin.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tykeal
tykeal merged commit 6c2ced2 into lfreleng-actions:main Oct 8, 2026
11 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the chore/maven-build-action-0.5.3 branch October 8, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Code chores (dependency updates, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants