summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-10 23:24:30 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-10 23:24:30 +0300
commitfb9cf7706c3bde10a41ae9afd2a3ce166597670a (patch)
tree7292b26741ae95f80e26cb479f0c0df09fe28964
parent6a4a23e617e59aa6ed8ec6ab72bb1675f57e8741 (diff)
downloadvyos-documentation-fb9cf7706c3bde10a41ae9afd2a3ce166597670a.tar.gz
vyos-documentation-fb9cf7706c3bde10a41ae9afd2a3ce166597670a.zip
ci: declare custom self-hosted runner label `web` for actionlint
CodeRabbit nitpick on PR #1947: actionlint flags `runs-on: [self-hosted, web]` with `label "web" is unknown` because `web` is a custom label for the VyOS-Networks org-managed self-hosted Debian 12 runner pool, not a known GitHub-hosted label. Adding `.github/actionlint.yaml` with the `self-hosted-runner.labels` list is the upstream-documented way to suppress the false positive without disabling the linter. No behavioral change.
-rw-r--r--.github/actionlint.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml
new file mode 100644
index 00000000..04e9cefe
--- /dev/null
+++ b/.github/actionlint.yaml
@@ -0,0 +1,12 @@
+# actionlint configuration for vyos/vyos-documentation
+#
+# Declares the custom labels used by the org-managed self-hosted runner
+# pool so actionlint stops emitting "label 'web' is unknown" false
+# positives on `runs-on: [self-hosted, web]` lines.
+#
+# The `web` label is the org-level VyOS Networks self-hosted Debian 12
+# runner pool used by .github/workflows/ai-validation.yml (both the
+# `prepare` and `validate` jobs).
+self-hosted-runner:
+ labels:
+ - web