Skip to content

CI: Bump step-security/harden-runner to v2.22.3 - #177

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

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

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 #176

Authored by an AI agent; human review required
Command Exit
prek install -t pre-commit -t commit-msg 0
prek run --files <17 changed files> 0
uvx [email protected] --offline --persona auditor .github/workflows/ 0
bash tests/workflow-steps.sh 0
aislop scan --changes --json (empty diagnostics) 0
git commit -s (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; a maintainer must act on any finding that remains after that, and reviews every round before merge.


What changed

Every step-security/harden-runner pin moves to v2.22.3, commit 46b06cea07f9e64621fdf066ba77ac6915163d43: 29 references across 17 files (11 reusable workflows under .github/workflows/ and 6 caller examples under examples/). Each trailing comment now reads # v2.22.3, keeping each file's existing comment spacing.

Why

GitHub's egress proxy experiment on hosted westus2 runners adds a systemd-resolved drop-in that empties the DNS list after the agent restarts the resolver. Job processes then resolve names outside the agent, and its firewall drops connections to allow-listed hosts, so jobs fail with Connection refused or hang until timeout-minutes. v2.21.1 and v2.22.2, the versions pinned here before this change, are both affected. v2.22.3 (agent v0.18.0) removes the drop-in before enforcing.

No other pin moves (the lfreleng-actions/harden-runner-block-action pins are left to Dependabot), and no with: input or egress-policy value changes. The remaining step-security/harden-runner mentions in docs/BRIEF.md, a comment in openssf-scorecard.yaml and tests/workflow-steps.sh are prose or allow-list names, not pins, so they stay as they are.

Validation

  • grep -rn 'step-security/harden-runner@' .: all 29 references show 46b06cea07f9e64621fdf066ba77ac6915163d43 with # v2.22.3.
  • prek run --files <17 changed files>: all hooks pass, including actionlint, zizmor, yamllint, reuse and the workflow validators. The commit-time hooks, gitlint included, also pass.
  • uvx [email protected] --offline --persona auditor .github/workflows/: no findings.
  • bash tests/workflow-steps.sh: all 112 cases pass.
  • aislop scan --changes --json (0.14.1): empty diagnostics array.

For reviewers

  • This session had no network access to step-security/harden-runner, so the commit SHA comes from the issue, which reports that lightweight tag v2.22.3 points directly at 46b06cea07f9e64621fdf066ba77ac6915163d43 (a commit, not a tag object). Check it against the release before merging.
  • Dependabot's cooldown would otherwise hold this bump back for seven days. This PR deliberately gets ahead of it.
  • Two existing lines in testing.yaml and assert-submodule-scan.yaml use a single space before #. That spacing is kept as it was.

GitHub's egress proxy experiment on hosted ubuntu runners in westus2
adds a systemd-resolved drop-in that empties the DNS list after the
harden-runner agent restarts the resolver. Job processes then resolve
names outside the agent, and its firewall drops connections to hosts
that are in allowed-endpoints, so jobs fail or hang until their
timeout. v2.21.1 and v2.22.2, both pinned here, are affected.

v2.22.3 (agent v0.18.0) removes the drop-in before enforcing. Move all
29 pins in the reusable workflows and the caller examples to commit
46b06cea07f9e64621fdf066ba77ac6915163d43, which tag v2.22.3 points at
directly. No other pin or input changes.

Co-authored-by: Copilot <[email protected]>
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 00:24
@github-actions github-actions Bot added the CI CI and tests updates label Oct 28, 2026
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 0f985c4 into lfreleng-actions:main Oct 28, 2026
12 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-176 branch October 28, 2026 00:26
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 step-security/harden-runner to v2.22.3

1 participant