Repository navigation
Expand file tree
/
Copy pathactionlint.yaml
More file actions
46 lines (44 loc) · 2.08 KB
/
Copy pathactionlint.yaml
File metadata and controls
46 lines (44 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Configuration for the actionlint tool, which we run via prek
# to verify the correctness of the syntax in our GitHub Actions workflows.
self-hosted-runner:
# Various runners we use that aren't recognized out-of-the-box by actionlint:
labels:
- depot-ubuntu-24.04
- depot-ubuntu-24.04-4
- depot-ubuntu-24.04-8
- depot-ubuntu-22.04-16
- depot-ubuntu-22.04-32
- namespace-profile-macos-15
- namespace-profile-windows-2022-x86-64-16x32
- depot-ubuntu-22.04-arm-4
- depot-ubuntu-24.04-arm-8
- github-ubuntu-24.04-x86_64-2
- github-ubuntu-24.04-x86_64-4
- github-ubuntu-24.04-x86_64-32
- github-windows-2025-x86_64-8
- github-windows-2025-x86_64-16
- codspeed-macro
- codspeed-macro-x64-ryzen-9950x-ubuntu-24-04
paths:
".github/workflows/*.{yml,yaml}":
ignore:
# `actionlint` does not yet recognize GitHub's `$/` syntax.
# https://github.com/rhysd/actionlint/issues/711
- '^reusable workflow call "\$/\.github/workflows/[^"/]+\.ya?ml" at "uses" is not following the format '
- '^specifying action "\$/\.github/actions/setup-ruff-workspace" in invalid format because ref is missing\.'
- '^specifying action "\$/python/py-fuzzer" in invalid format because ref is missing\.'
".github/workflows/pull-request-reviewers.yml":
ignore:
# actionlint doesn't yet support concurrency queues. The schema hook validates them.
- '^unexpected key "queue" for "concurrency" section\.'
".github/workflows/publish-pull-request-report.yml":
ignore:
# actionlint doesn't yet support concurrency queues. The schema hook validates them.
- '^unexpected key "queue" for "concurrency" section\.'
# actionlint doesn't yet recognize the reusable workflow's own revision context.
- 'property "workflow_(repository|sha)" is not defined in object type'
".github/workflows/{ty-ecosystem-analyzer,memory_report,sync_typeshed}.yaml":
ignore:
# actionlint doesn't yet support the cache-mode feature.
# The schema hook validates it.
- '^unexpected key "cache-mode" for "workflow" section\.'