Skip to content

CI: Bump all action and workflow pins to latest - #179

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-178
Oct 28, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-178

Conversation

@lf-releng-code-monkey-bot

@lf-releng-code-monkey-bot lf-releng-code-monkey-bot Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

INFO The workflow Copilot review request was accepted but no Copilot reviewer was added; no Copilot review was requested for this pull request, so a maintainer should request one.

Closes #178

Authored by an AI agent; human review required
Command Exit
git ls-remote https://github.com/<owner/repo> refs/tags/<tag>^{} (10 repos) 0
git grep -nE '<old SHAs>|5.7.0.6970' (expects no match) 1
bash tests/workflow-steps.sh 0
prek run --files <15 changed files> 0
uvx zizmor --persona auditor .github/workflows/ 0
aislop scan --changes --json 0
git commit -s (pre-commit and gitlint commit-msg hooks) 0

The github-code-monkey-bot workflow opened this pull request.
Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds; a maintainer must act on any finding that remains after that, and reviews every round before merge.


Summary

Moves every remote uses: pin in .github/workflows/ and the examples/*/gerrit.yaml callers to the latest release of the action or reusable workflow it names, ignoring the Dependabot cooldown. That is 31 references across 15 files:

Action / workflow From To
astral-sh/setup-uv v10.3.0 v10.3.3
github/codeql-action/{init,analyze,upload-sarif} v4.39.0 v4.39.1
lfreleng-actions/build-metadata-action v0.11.0 v0.11.1
lfreleng-actions/checkout-gerrit-change-action v1.1.2 v1.2.0
lfreleng-actions/generic-workflows (clear-action-cache.yaml, release.yaml) v0.4.3 v0.6.1
lfreleng-actions/gerrit-review-action v1.1.3 v1.2.0
lfreleng-actions/openssf-scorecard-summary-action v0.1.3 v0.1.4
lfreleng-actions/pinned-versions-action v0.3.0 v0.3.2
lfreleng-actions/sonarqube-cloud-scan-action v1.6.1 v1.6.2
lfreleng-actions/zizmor-scan-action v0.5.3 v0.5.4

The urgent one is generic-workflows v0.6.1. At v0.4.3, the called clear-action-cache and release workflows embed harden-runner v2.21.1, and the DNS change on hosted westus2 runners defeats that version.

Adopted breaking-ish change

sonarqube-cloud-scan-action v1.6.2 moves maven_sonar_plugin_version from 5.7.0.6970 to 5.8.0.7211 (GHSA-6q48-6c7w-9gw2, compromised emSign root in the older bundled JRE). sonarqube-cloud.yaml hard-codes that default on its own maven_sonar_plugin_version input and always passes it through, so this PR moves it to '5.8.0.7211' as well. Without that, Maven-mode callers would keep the vulnerable plugin. scanner_version defaults to '' here and follows the action. No README or docs table states either default.

The other releases only add inputs or outputs, and their defaults keep today's behaviour, so no other caller changes are needed.

Validation

  • Checked every new SHA with git ls-remote against the peeled tag (refs/tags/<tag>^{}), so each pin is a commit SHA, not a tag object. Read the v1.6.2 sonarqube-cloud-scan-action action.yaml at the pinned SHA: scanner_version defaults to 8.3.0.16463 and maven_sonar_plugin_version to 5.8.0.7211.
  • The issue's acceptance git grep for the old SHAs and for 5.7.0.6970 prints nothing.
  • bash tests/workflow-steps.sh: all 112 cases passed.
  • prek run --files <15 changed files>: all hooks pass, including actionlint, zizmor, yamllint, reuse and the workflow validators. gitlint passed on commit.
  • uvx zizmor --persona auditor .github/workflows/: no findings.
  • aislop scan --changes --json: empty diagnostics.

For reviewers

  • Out of scope by design, so left unchanged: the self-repository calls, the security-workflows@0000… # REPLACE: vX.Y.Z placeholders in examples/, the allow_list.txt@084d686 allow-list coordinates, and .pre-commit-config.yaml hook revisions.
  • The version bumps skip the cooldown on purpose, at the maintainers' request in the issue.

Move every remote action and reusable workflow pin in the workflows
and the Gerrit caller examples to its latest release, ahead of the
Dependabot cooldown, so the next release of this repository is
current throughout.

The urgent part is generic-workflows v0.6.1: the clear-action-cache
and release workflows at v0.4.3 embed harden-runner v2.21.1, which
the DNS change on hosted westus2 runners defeats.

sonarqube-cloud-scan-action v1.6.2 moves its Maven plugin default to
5.8.0.7211, past releases whose bundled JRE trusts the compromised
emSign ECC Root CA - G3 (GHSA-6q48-6c7w-9gw2). The
maven_sonar_plugin_version input of sonarqube-cloud.yaml mirrors that
default and always passes it through, so move it in step; otherwise
Maven-mode callers would keep the vulnerable plugin.

All other releases are additive with behaviour-preserving defaults.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>
@lf-releng-code-monkey-bot
lf-releng-code-monkey-bot Bot requested a review from a team October 28, 2026 23:54
@github-actions github-actions Bot added the CI CI and tests updates label Oct 28, 2026
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 378fcc1 into lfreleng-actions:main Oct 28, 2026
12 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-178 branch October 28, 2026 23:58
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.

CI: Bump all action and workflow pins to latest

1 participant