Skip to content

Fix(ci): Repin maven-xml-settings-action v0.1.1 - #118

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:ci/repin-maven-xml-settings
Sep 29, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:ci/repin-maven-xml-settings

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

Problem

zizmor reports four findings on main, all from one pin used twice:

Workflow Finding
sonarqube-cloud.yaml ref-version-mismatch (medium), stale-action-refs (low)
sonatype-lifecycle.yaml ref-version-mismatch (medium), stale-action-refs (low)

Both pin lfreleng-actions/maven-xml-settings-action@408eb05… # v0.1.1. The v0.1.1 tag now points at 98f03c9…, so the SHA no longer matches the version its comment names, and no tag points at it.

Change

Repin both to 98f03c9a9923493f516488f3ae046f8b8b48ff8f, the commit v0.1.1 peels to (git ls-remote … 'refs/tags/v0.1.1^{}'). The # v0.1.1 comment stays.

Impact

None on what runs. 408eb05 is an ancestor of 98f03c9, and action.yaml is byte-identical at both. The commits between them touch only that repository's own CI, release workflows and LICENSE.

Checks

  • zizmor --persona auditor, run online so the ref audits can resolve tags: 4 findings on main → 0 on this branch
  • prek run --all-files passes
  • aislop ci --changes reports 0 errors and 0 warnings

No open PR here (#51, #114, #115, #116) touches this pin.

Both Maven scan workflows pinned maven-xml-settings-action to
408eb05, labelled v0.1.1. The v0.1.1 tag now points at 98f03c9, so
zizmor reports each pin as ref-version-mismatch (medium) and
stale-action-refs (low): the SHA no longer matches the version its
comment claims, and no tag names it.

Repin both to 98f03c9, the commit v0.1.1 peels to. 408eb05 is an
ancestor of it, and action.yaml is identical at both, so the action
the workflows run is unchanged; the commits between touch only that
repository's own CI, release workflows and LICENSE.

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 September 29, 2026 12:16
@github-actions github-actions Bot added the bug Something isn't working label Sep 29, 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.

Copilot review overview

🟢 Approval recommended

The new SHA matches the verified v0.1.1 tag, and the action definition is unchanged.

Review effort: Balanced
Findings: None

What changed in this PR

Repins maven-xml-settings-action to the commit currently referenced by v0.1.1, resolving stale and mismatched action references without changing behavior.

Changes:

  • Updates both Maven workflow integrations to SHA 98f03c9.
  • Preserves the matching v0.1.1 annotation.
File Description
.github/​workflows/​sonatype-lifecycle.yaml Updates the action pin.
.github/​workflows/​sonarqube-cloud.yaml Updates the action pin.

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

@zxiiro zxiiro 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.

🤖 Auto-approved by agent: trivial change (dependency/docs/formatting only).

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 10791de into lfreleng-actions:main Sep 29, 2026
11 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the ci/repin-maven-xml-settings branch September 29, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants