Skip to content

Commit 898ae6c

Browse files
authored
Tell actionlint that image ubuntu-24.04-arm is valid (#1136)
The addition of testing on ubuntu-24.04-arm causes `actionlint` to produce a false positive error about the runner name being invalid. The error happens because that particular runner image is one of the partner images from https://github.com/actions/partner-runner-images and apparently `actionlint` does not know the names of those by default. This `actionlint` configuration file defines the runner name as valid.
1 parent 205c5d2 commit 898ae6c

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/actionlint.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
self-hosted-runner:
16+
# We don't have self-hosted runners, but we do use some of the "partner"
17+
# runner images at https://github.com/actions/partner-runner-images
18+
labels:
19+
- ubuntu-24.04-arm

0 commit comments

Comments
 (0)