Pārlūkot izejas kodu

validate: yamllint: ignore "truthy value should be one of" warnings

Suppresses warnings like:

    LANG=C.UTF-8 yamllint -c hack/validate/yamllint.yaml -f parsable .github/workflows/*.yml
    .github/workflows/ci.yml:7:1: [warning] truthy value should be one of [false, true] (truthy)
    .github/workflows/windows.yml:7:1: [warning] truthy value should be one of [false, true] (truthy)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 gadi atpakaļ
vecāks
revīzija
91bb776bb8
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      hack/validate/yamllint.yaml

+ 5 - 0
hack/validate/yamllint.yaml

@@ -3,3 +3,8 @@ locale: C.UTF-8
 rules:
   document-start: disable
   line-length: disable
+  # ignore "warning  truthy value should be one of [false, true]" on GitHub
+  # actions workflows, which use "on:" to specify when to run.
+  truthy:
+    ignore: |
+      .github/workflows/