Skip to content

CI: Bump action pins for harden-runner v2.22.3 - #404

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

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

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #403

Authored by an AI agent; human review required
Command Exit
prek install -t pre-commit -t commit-msg 0
prek run --files .github/workflows/build-test-release.yaml .github/workflows/build-test.yaml .github/workflows/clear-action-cache.yaml .github/workflows/openssf-scorecard.yaml .github/workflows/releas 0
uvx zizmor --offline --persona auditor <changed files> 0
aislop scan --changes --json 0
git commit -s (pre-commit and gitlint commit-msg hooks) 0
uv run pytest -x -q 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.


Bumps the 15 pins listed in the issue to their latest releases, inside the Dependabot cooldown, so CI here and in the reusable workflows it calls runs with step-security/harden-runner v2.22.3. Earlier harden-runner releases time out at start-up on GitHub-hosted Linux runners with egress-policy: block, and then refuse connections to allowed hosts such as github.com.

Changes

One commit, 15 lines across 8 files. Each line swaps only the SHA and version comment shown in the issue. The SHAs are copied from the issue, which generated them with gha-workflow-linter v1.10.0 (--cooldown 0):

Pin From To
lfreleng-actions/python-workflows build-test.yaml / build-test-release.yaml v0.5.3 v0.5.4
lfreleng-actions/harden-runner-block-action (3 uses) v0.14.0 v0.15.0
lfreleng-actions/generic-workflows clear-action-cache.yaml v0.5.0 v0.6.1
lfreleng-actions/security-workflows openssf-scorecard.yaml v0.9.5 v0.9.7
HARDEN_RUNNER_ALLOWLIST allow-list (build-test-release.yaml) v0.5.0 v0.19.0
config allow-list (release-drafter.yaml) v0.1.1 v0.19.0
astral-sh/setup-uv (testing.yaml x4, testing-act.yaml, action.yaml) v10.3.2 v10.3.3

The default branch had not moved from a0a7aa2, so every listed pin was still present and got updated. .github/dependabot.yml is unchanged, and nothing outside the list was bumped.

Validation

  • prek run --files <8 changed files>: all hooks pass (yamllint, actionlint, gha-workflow-linter, aislop, check-jsonschema, reuse, codespell). The gitlint commit-msg hook passed on commit.
  • uvx zizmor --offline --persona auditor <8 changed files>: no findings (3 ignored, the same as on the base commit).
  • aislop scan --changes --json: empty diagnostics.
  • uv run pytest -x -q: 744 passed.

Points for review

  • The SHAs were not checked against upstream tags in this session because this workflow does not let the session query GitHub. They come straight from the issue's gha-workflow-linter output, and the gha-workflow-linter pre-commit hook accepted them.
  • testing-act.yaml line 37 and action.yaml line 235 had a single space before # v10.3.2. The issue's target text uses two spaces, matching the other setup-uv pins, so these two lines also change spacing.
  • Both allow-list pins move to lfreleng-actions/.github v0.19.0, a large version jump from v0.5.0 and v0.1.1. That is the latest release the linter reported.

harden-runner releases before v2.22.3 time out at start-up on
GitHub-hosted Linux runners when egress-policy is block, after which
connections to allowed hosts such as github.com are refused. Move
every listed action, reusable workflow and harden-runner allow-list
pin to its latest release so jobs here, and inside the reusable
workflows they call, run with the fixed release.

Bumps, as generated by gha-workflow-linter v1.10.0 with cooldown 0:
- python-workflows build-test(-release).yaml v0.5.3 -> v0.5.4
- harden-runner-block-action v0.14.0 -> v0.15.0
- generic-workflows clear-action-cache.yaml v0.5.0 -> v0.6.1
- security-workflows openssf-scorecard.yaml v0.9.5 -> v0.9.7
- lfreleng-actions/.github allow-lists v0.5.0/v0.1.1 -> v0.19.0
- astral-sh/setup-uv v10.3.2 -> v10.3.3

The Dependabot cooldown is unchanged; only this bump skips it.

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>

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

No active review issues are identified for the dependency-pin updates.

No open issues 🎉

What changed in this PR

Updates 15 dependency pins across eight files to address the harden-runner connection failures described in #403, bringing CI dependencies onto releases that incorporate v2.22.3.

Changes:

  • Bumps reusable build, release, cache-cleanup, and security workflows.
  • Updates the harden-runner block action and both egress allow-list pins.
  • Upgrades six setup-uv references to v10.3.3 while leaving Dependabot cooldown settings unchanged.
File Description
action.yaml Updates the action’s setup-uv pin to v10.3.3.
.github/​workflows/​testing.yaml Updates four setup-uv pins to v10.3.3.
.github/​workflows/​testing-act.yaml Updates the local testing workflow’s setup-uv pin.
.github/​workflows/​release-drafter.yaml Updates the harden-runner block action and allow-list pins.
.github/​workflows/​openssf-scorecard.yaml Updates the security workflow pin to v0.9.7.
.github/​workflows/​clear-action-cache.yaml Updates the cache-cleanup workflow pin to v0.6.1.
.github/​workflows/​build-test.yaml Updates the Python build/test workflow pin to v0.5.4.
.github/​workflows/​build-test-release.yaml Updates the release workflow, block action, and allow-list pins.

Review effort: Balanced

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤖 Dependamerge
Approved this pull request ✅

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit dda3812 into lfreleng-actions:main Nov 2, 2026
40 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.

Bump action pins to latest releases for harden-runner v2.22.3

2 participants