Skip to content

Commit 3110760

Browse files
authored
ci: teach actionlint the ubuntu-26.04-arm runner label (#3375)
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 parent 2d1a4b5 commit 3110760

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎.github/actionlint.yaml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# WORKAROUND: actionlint does not recognize the `ubuntu-26.04-arm` GitHub-hosted
2+
# runner label yet. Upstream support is pending (rhysd/actionlint#683, duplicate #723),
3+
# so the pinned actionlint version used in .github/workflows/lint.yml would fail the
4+
# lint check with `label "ubuntu-26.04-arm" is unknown`.
5+
#
6+
# Declaring the label under `self-hosted-runner.labels` is actionlint's documented
7+
# mechanism for accepting runner labels it does not know about. Remove this entry
8+
# once the pinned actionlint version in .github/workflows/lint.yml ships built-in
9+
# support for `ubuntu-26.04-arm`; the label is a GitHub-hosted runner, not
10+
# self-hosted.
11+
self-hosted-runner:
12+
labels:
13+
- ubuntu-26.04-arm

0 commit comments

Comments
 (0)