Browse code

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 authored on 2022/08/26 22:37:42
Showing 1 changed files
... ...
@@ -3,3 +3,8 @@ locale: C.UTF-8
3 3
 rules:
4 4
   document-start: disable
5 5
   line-length: disable
6
+  # ignore "warning  truthy value should be one of [false, true]" on GitHub
7
+  # actions workflows, which use "on:" to specify when to run.
8
+  truthy:
9
+    ignore: |
10
+      .github/workflows/