Skip to content

Chore(deps): Bump pins for harden-runner v2.22.3 - #117

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

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

Conversation

@lf-releng-code-monkey-bot

@lf-releng-code-monkey-bot lf-releng-code-monkey-bot Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Closes #115

Authored by an AI agent; human review required
Command Exit
prek run --files .github/workflows/autolabeler.yaml .github/workflows/linting-action.yaml .github/workflows/linting.yaml .github/workflows/release.yaml .github/workflows/semantic-pull-request.yaml .gi 0
gha-workflow-linter lint --allow-list update --cooldown 0 --show-suppressed . (v1.10.0, scratch copy) 0
aislop scan --staged --json . 0
git commit --amend -s (commit-msg hook: 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.

Round 1 of revision, rebased onto the default branch.


Bumps the harden-runner allow-list pins in this repository's reusable workflows to the release that carries harden-runner v2.22.3 (#115). Releases before v2.22.3 time out at start-up in egress-policy: block on GitHub-hosted Linux runners, so connections to allowed hosts get refused and jobs fail.

Pin To File
default allow-list @​6d4a65c5601afd6c2fbe52bda4b0024b132f265d (v0.19.0) .github/workflows/autolabeler.yaml
default allow-list @​6d4a65c5601afd6c2fbe52bda4b0024b132f265d (v0.19.0) .github/workflows/linting.yaml
default allow-list @​6d4a65c5601afd6c2fbe52bda4b0024b132f265d (v0.19.0) .github/workflows/release.yaml
default allow-list @​6d4a65c5601afd6c2fbe52bda4b0024b132f265d (v0.19.0) .github/workflows/semantic-pull-request.yaml
config allow-list @​6d4a65c5601afd6c2fbe52bda4b0024b132f265d (v0.19.0) .github/workflows/linting-action.yaml

Already current, so not changed: the harden-runner-block-action pin in .github/workflows/ci-management-merge.yaml. The default branch already pins v0.15.0 (2fed66c9…), so that hunk was dropped.

Fixture directive: .github/workflows/tox-verify-action.yaml now has a # gha-workflow-linter: allow-list-pin-ok -- deliberately unpinned fixture; exercises harden_runner_supplemental_unpinned line directly above the unpinned harden_runner_supplemental_allowlist: 'lfreleng-actions//' fixture. A # yamllint disable-line rule:line-length comment sits above that directive because the directive line is longer than yamllint's 80-column limit. The maintainer's comment named testing.yaml, but this repository has no such file. The fixture is in tox-verify-action.yaml.

.github/dependabot.yml is unchanged. This bump skips the cooldown on purpose.

This round

  • Rebased onto the current default branch (95d3a43), as a maintainer asked, because the PR no longer merged. The conflicts were with the new harden_runner_* inputs from Feat: Expose all harden-runner allow-list inputs #116. I kept the default branch's text and applied the pin change again by matching the key.
  • Dropped the ci-management-merge.yaml hunk because that pin is already at the target.
  • Added the fixture directive described above.

Checks run

  • prek run --files <6 changed files>: all hooks passed, including yamllint, actionlint, zizmor, gha-workflow-linter, the workflow schema checks and the harden-runner input drift check.
  • gha-workflow-linter lint --allow-list update --cooldown 0 --show-suppressed . (v1.10.0) on a scratch copy: it lists the fixture as suppressed with the reason shown above and does not rewrite any allow-list pin.
  • aislop scan --staged --json: the diagnostics array is empty.

For reviewers

gha-workflow-linter now reports harden-runner-block-action v0.15.1 as available on 13 call sites. #115 does not list that bump, so it is out of scope here.

@lf-releng-code-monkey-bot
lf-releng-code-monkey-bot Bot requested a review from a team November 2, 2026 00:46
@github-actions github-actions Bot added the chore Code chores (dependency updates, etc) label Nov 2, 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.

🟢 Approval recommended

No active review issues are recorded for the workflow pin updates.

No open issues 🎉

What changed in this PR

Updates the six workflow pins specified in #115 as part of the harden-runner v2.22.3 rollout to address blocked connections on GitHub-hosted Linux runners.

Changes:

  • Bumps five allow-list references from v0.17.2 to v0.19.0.
  • Bumps the CI-management merge workflow’s harden-runner-block-action from v0.14.0 to v0.15.0.
  • Limits changes to the listed SHAs and version comments, leaving Dependabot configuration unchanged.
File Description
.github/​workflows/​semantic-pull-request.yaml Updates the default allow-list pin to v0.19.0.
.github/​workflows/​release.yaml Updates the default allow-list pin to v0.19.0.
.github/​workflows/​linting.yaml Updates the default allow-list pin to v0.19.0.
.github/​workflows/​linting-action.yaml Updates the allow-list configuration pin to v0.19.0.
.github/​workflows/​ci-management-merge.yaml Updates harden-runner-block-action to v0.15.0.
.github/​workflows/​autolabeler.yaml Updates the default allow-list pin to v0.19.0.

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

Copy link
Copy Markdown
Member

🤖 Dependamerge
Enabled auto-merge due to pending updates/checks ⏳

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Member

Revision requested (maintainer). This pull request no longer merges: the default branch moved while the organisation-wide bump was merged this morning (Dependabot and other sweeps landed intermediate releases), so several of the issue's From lines no longer exist and the branch has conflicts.

Please:

  1. Rebase onto the current default-branch head and resolve the conflicts.
  2. Re-apply the issue's To values on top of what the default branch has now. Treat the issue's line numbers and From text as stale and match on the uses: path or key instead. Where the default branch already carries the To value, drop that hunk; where a listed file or line no longer exists, skip it and say so in the description.
  3. Keep this a single signed commit (amend and force-push), keep the PR title equal to the commit subject, and update the description's table and "already current" notes to reflect what actually changed.
  4. In .github/workflows/testing.yaml, harden_runner_supplemental_allowlist: 'lfreleng-actions//' is a deliberately unpinned fixture (the step sets harden_runner_supplemental_unpinned: true). The weekly allow-list sweep keeps rewriting it into a pinned reference, which makes the line 116 characters and fails yamllint (see the sweep PR closed in favour of this one). Add the preceding-line directive # gha-workflow-linter: allow-list-pin-ok -- deliberately unpinned fixture; exercises harden_runner_supplemental_unpinned directly above that line so the sweep leaves it alone.

State of the default branch for the pins in this PR, from a fresh clone at the time of writing:

  • still needed (5): allow-list default/config → v0.19.0 in autolabeler, linting, linting-action, release and semantic-pull-request
  • already at target (1): harden-runner-block-action v0.15.0 in ci-management-merge.yaml

Move the harden-runner allow-list default to v0.19.0 in the
autolabeler, linting, linting-action, release and
semantic-pull-request workflows. harden-runner releases before
v2.22.3 time out at start-up in egress-policy block mode on
GitHub-hosted Linux runners, after which connections to allowed
hosts are refused and jobs fail. These releases carry the fixed
harden-runner. ci-management-merge.yaml already pins
harden-runner-block-action v0.15.0 on the default branch, so it
needs no change here.

Mark the unpinned harden_runner_supplemental_allowlist fixture in
tox-verify-action.yaml with an allow-list-pin-ok directive. The
fixture exercises harden_runner_supplemental_unpinned on purpose,
and without the directive the weekly allow-list sweep rewrites it
into a pinned reference that breaks yamllint's line length.

This bump skips the Dependabot cooldown on purpose; the cooldown
settings in .github/dependabot.yml stay unchanged.

Review round 1: rebased onto the current default branch at a
maintainer's request, resolving conflicts with the new
harden_runner_* inputs, and added the fixture directive the
maintainer asked for.

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 reported for the allow-list pin updates and lint-suppression comments.

No open issues 🎉

Review effort: Balanced

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 2442f8a into lfreleng-actions:main Nov 2, 2026
46 checks passed
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.

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

2 participants