Skip to content

CI: Pin java-workflows to the v0.7.0 release - #180

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:fix/pin-java-workflows-release
Oct 15, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:fix/pin-java-workflows-release

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

Resolves the Zizmor ref-version-mismatch (medium) and stale-action-refs findings on .github/workflows/testing.yaml:

The versions job called java-maven-versions.yaml at a commit on java-workflows main with a # main comment, because no release carried the workflow when the job was added. main has since moved on, the commit is not a tag, and Dependabot cannot track a branch comment.

v0.7.0 (7bb1071, currently also main HEAD) contains that commit and keeps the maven and java outputs this job consumes (line, version, sha512); it only adds gradle/gradle_cells outputs that this caller ignores. Pin to the release commit and name the tag.

Validation: zizmor --persona auditor reports no findings; prek hooks and aislop ci --changes pass.

The versions job called java-maven-versions.yaml at a commit on
java-workflows main, with a '# main' comment, because no release
carried the workflow when the job was added. Zizmor flags that pin
as ref-version-mismatch (main has since moved on) and
stale-action-refs (the commit is not a tag), and Dependabot cannot
track a branch comment.

v0.7.0 contains that commit and keeps the maven and java outputs
this job consumes, so pin to its commit and name the tag.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions requested review from a team and a balanced review from Copilot October 15, 2026 19:15
@github-actions github-actions Bot added the CI CI and tests updates label Oct 15, 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

The SHA matches the release tag, the consumed outputs remain compatible, and no unresolved issues were identified.

0 open findings

What changed in this PR

Updates the Java/Maven version-discovery workflow to a release-backed pin that Dependabot can track.

Changes:

  • Pins the reusable workflow to the verified v0.7.0 commit.
  • Changes the reference comment from main to v0.7.0.
File Description
.github/​workflows/​testing.yaml Updates the workflow SHA and release-tag comment.

🧠 Review effort: Balanced


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

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit f6870fc into lfreleng-actions:main Oct 15, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI and tests updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants