ci: teach actionlint the ubuntu-26.04-arm runner label - #3375
Merged
Merged
Conversation
actionlint 1.7.12 does not recognize the ubuntu-26.04-arm GitHub-hosted runner label yet (upstream: rhysd/actionlint#683). Declare it in actionlint's config so the Lint GitHub Actions check passes for the renovate runner bump (#3338). Remove once actionlint ships built-in support for the label.
1 task
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why
Renovate's ubuntu runner bump (#3338) moves the
visual-regressionjob fromubuntu-24.04-armtoubuntu-26.04-arm, but the pinned actionlint 1.7.12 reportslabel "ubuntu-26.04-arm" is unknownand theLint GitHub Actions [actionlint]check fails.There is no actionlint release that knows the label yet — upstream support is still open (rhysd/actionlint#683, duplicate #723) — so a version bump cannot fix it today.
Change
Add
.github/actionlint.yamldeclaring the label underself-hosted-runner.labels, which is actionlint's documented mechanism for accepting runner labels it does not know about.Verification
actionlint1.7.12 without config:label "ubuntu-26.04-arm" is unknown ... [runner-label](reproduces the chore(deps): update dependency ubuntu to v26 #3338 failure)