Skip to content

ci(actionlint): allow the ubuntu-26.04 runner labels - #1151

Merged
castrojo merged 1 commit into
projectbluefin:mainfrom
Danathar:ci/actionlint-ubuntu-26.04
Sep 20, 2026
Merged

castrojo merged 1 commit into
projectbluefin:mainfrom
Danathar:ci/actionlint-ubuntu-26.04

Conversation

@Danathar

Copy link
Copy Markdown
Contributor

What problem are you solving?

Renovate's move to ubuntu-26.04 runners (#1142) cannot pass validate: the actionlint pinned in .pre-commit-config.yaml (v1.7.12) does not know the new runner label and fails with label "ubuntu-26.04" is unknown. Upstream actionlint has not added the label yet, so the bump is stuck until the repo tells actionlint the label is real.

Changes

Extends the existing .github/actionlint.yaml with a self-hosted-runner.labels block listing ubuntu-26.04 and ubuntu-26.04-arm. This is the same block projectbluefin/review already carries. actionlint picks the file up automatically, so the pre-commit hook needs no change and no workflow is modified here.

Testing

Ran the pinned actionlint (rhysd/actionlint:1.7.12) locally:

Tree Errors
#1142 branch, without this block 2 (label "ubuntu-26.04" is unknown)
#1142 branch, with this block 0
main, with this block 0

Once this lands, #1142 only needs a Renovate rebase. bluefin has the same fix open as bluefin#1311.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YQCk7xJDvhtPoc4mWPzVCK

Renovate is moving workflows from ubuntu-24.04 to ubuntu-26.04 (projectbluefin#1142),
and the validate job rejects the bump: the actionlint pinned in
.pre-commit-config.yaml (v1.7.12) does not know the new runner images
and fails with `label "ubuntu-26.04" is unknown`. Upstream actionlint
has not added the label yet.

Extend the existing .github/actionlint.yaml with the same
self-hosted-runner block projectbluefin/review already carries, listing
ubuntu-26.04 and ubuntu-26.04-arm as known labels. actionlint reads this
file automatically, so the hook needs no change.

Checked with the pinned version against the projectbluefin#1142 branch: 2 errors
without this block, 0 with it, and 0 on main itself.

Assisted-by: Claude Opus 5 via Claude Code
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YQCk7xJDvhtPoc4mWPzVCK
Signed-off-by: Danathar <Danathar@users.noreply.github.com>
@castrojo
castrojo enabled auto-merge September 20, 2026 19:19
@castrojo
castrojo merged commit 9975b53 into projectbluefin:main Sep 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants