Skip to content

Chore: Bump action and workflow calls to latest - #183

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-182
Nov 12, 2026
Merged

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

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #182

Authored by an AI agent; human review required
Command Exit
uvx gha-workflow-linter@1.11.0 lint --action-calls update --allow-list update --cooldown 0 --allow-list-cooldown 0 --no-cache --validation-method git . 1
bash tests/test-grype-gate-inputs.sh 0
bash tests/test-grype-sbom-binding.sh 0
uvx gha-workflow-linter@1.11.0 lint --action-calls report --cooldown 0 --validation-method git . 0
uvx gha-workflow-linter@1.11.0 lint --action-calls update --allow-list update --cooldown 0 --allow-list-cooldown 0 --no-cache --validation-method git . (re-run) 0
git grep -n -E '<six superseded SHAs>' -- . 1
prek run --files <17 changed files> 0
uvx zizmor --persona auditor --offline .github/workflows 0
uvx zizmor --persona auditor --offline <changed workflow and example files> 13
aislop scan --changes --json . 0
git commit -s (prek pre-commit and commit-msg hooks incl. gitlint) 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 per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.


Bump every action and reusable-workflow call to its latest release, skipping the usual Dependabot cooldown. Caller workflows across the organisation are failing on issues these releases fix:

  • harden-runner-block-action v0.16.4 restarts harden-runner's agent after a transient DNS failure.
  • security-workflows v0.10.1 retries the Scorecard analysis that harden-runner's Docker restart can kill.
  • step-security/harden-runner v2.22.4 ships agent v0.18.1.

What changed

gha-workflow-linter v1.11.0 (--action-calls update --allow-list update --cooldown 0 --allow-list-cooldown 0 --no-cache --validation-method git) rewrote 87 uses: lines across 9 files under .github/workflows/:

Call From To
lfreleng-actions/build-metadata-action v0.12.0 v0.13.2
generic-workflows/.../clear-action-cache.yaml v0.7.0 v0.8.0
generic-workflows/.../release.yaml v0.7.0 v0.8.0
lfreleng-actions/harden-runner-block-action v0.16.3 v0.16.4
lfreleng-actions/repository-metadata-action v0.5.1 v0.5.4
security-workflows/.../openssf-scorecard.yaml v0.9.7 v0.10.1
step-security/harden-runner v2.22.3 v2.22.4

No newer releases had appeared since the issue was written. I also made the hand edits the issue lists:

  • examples/ (6 files, 12 lines): moved step-security/harden-runner to 1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4.
  • tests/test-grype-gate-inputs.sh: changed METADATA_PIN to ff822d06a64404a54feb79f8e27b687cc76d1c83 # v0.5.4. The file's mode stays 100644.
  • docs/BRIEF.md: updated the listed harden-runner pin to v2.22.4.

Each new SHA is the peeled commit a release tag points at (checked with git ls-remote ... refs/tags/<tag>^{}). None of them is a tag object SHA.

Validation

  • bash tests/test-grype-gate-inputs.sh: exit 0 (83/83 mutants caught for each workflow)
  • bash tests/test-grype-sbom-binding.sh: exit 0
  • Re-running the linter update command: exit 0, no files changed
  • gha-workflow-linter lint --action-calls report --cooldown 0: exit 0, all calls valid
  • Acceptance git grep for the six superseded SHAs: no matches
  • prek run --files <changed files>: all hooks passed (gitlint passed on commit)
  • zizmor --persona auditor on .github/workflows/: no findings
  • aislop scan --changes: empty diagnostics

Points for review

  • zizmor --persona auditor still reports 12 findings (4 medium, 0 high) in examples/build-test*/gerrit.yaml. The base commit has exactly the same findings, and none of them is on a line this PR changes. Fixing them would change example behaviour, so I left them alone.
  • The examples also pin harden-runner-block-action at v0.12.2 and other actions at older releases. The issue only asks to move the harden-runner pins in the examples and says no other hand edits, so I left those pins as they are.
  • docs/BRIEF.md still lists harden-runner-block-action v0.2.0 and the allow_list pin. The issue asks only for the harden-runner line to change there.
  • The linter ran with --validation-method git because this session has no GitHub token.

Move every action and reusable-workflow call to its latest release,
skipping the usual Dependabot cooldown: harden-runner-block-action
v0.16.4 restarts harden-runner's agent after a transient DNS failure,
security-workflows v0.10.1 retries a Scorecard run that the Docker
restart can kill, and harden-runner v2.22.4 ships agent v0.18.1.
Caller workflows across the organisation fail without these fixes.

gha-workflow-linter v1.11.0 rewrote the pins under .github/workflows.
Carry the harden-runner v2.22.4 pin into the examples and the BRIEF,
and move the repository-metadata-action pin the Grype gate test
checks to v0.5.4 so it matches the workflows again.

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 November 12, 2026 19:42
@github-actions github-actions Bot added the chore Code chores (dependency updates, etc) label Nov 12, 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.

🔵 Needs a closer look

A maintainer must reconcile the 12 reported auditor-mode Zizmor findings in touched Gerrit examples with the organisation’s zero-findings requirement, despite their location outside the changed hunks.

No open issues 🎉

What changed in this PR

Updates pinned dependencies in the reusable Python workflows to address the runner-hardening and Scorecard failures described in #182. Changes are limited to version references; workflow inputs and configuration remain unchanged.

Changes:

  • Refresh action and reusable-workflow pins across nine workflows.
  • Update harden-runner to v2.22.4 in six caller examples and the documentation.
  • Align the Grype gate test’s expected repository-metadata pin with v0.5.4.
File Description
tests/​test-grype-gate-inputs.sh Updates the expected repository-metadata pin.
examples/​build-test/​gerrit.yaml Updates harden-runner in the Gerrit build example.
examples/​build-test-release/​github.yaml Updates harden-runner in the GitHub release example.
examples/​build-test-release/​gerrit.yaml Updates harden-runner in the Gerrit release example.
examples/​build-test-release-multiarch/​github.yaml Updates harden-runner in the multiarchitecture GitHub release example.
examples/​build-test-release-multiarch/​gerrit.yaml Updates harden-runner in the multiarchitecture Gerrit release example.
examples/​build-test-multiarch/​gerrit.yaml Updates harden-runner in the multiarchitecture Gerrit build example.
docs/​BRIEF.md Refreshes the documented harden-runner pin.
.github/​workflows/​testing.yaml Updates runner-hardening dependencies for internal testing.
.github/​workflows/​release.yaml Updates the shared release workflow to v0.8.0.
.github/​workflows/​release-drafter.yaml Updates runner-hardening dependencies.
.github/​workflows/​openssf-scorecard.yaml Updates the shared security workflow to v0.10.1.
.github/​workflows/​clear-action-cache.yaml Updates the shared cache-clearing workflow to v0.8.0.
.github/​workflows/​build-test.yaml Updates runner-hardening and repository-metadata actions.
.github/​workflows/​build-test-release.yaml Updates runner-hardening and repository-metadata actions.
.github/​workflows/​build-test-release-multiarch.yaml Updates runner-hardening, repository-metadata, and build-metadata actions.
.github/​workflows/​build-test-multiarch.yaml Updates runner-hardening, repository-metadata, and build-metadata actions.

Review effort: Balanced

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 29e6dfb into lfreleng-actions:main Nov 12, 2026
125 of 159 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-182 branch November 12, 2026 22:47
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.

Chore: Bump action and workflow calls to latest

2 participants