From 91bb776bb85a75e86760b406d5af46b651f044dd Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 26 Aug 2022 15:37:42 +0200 Subject: [PATCH] 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 --- hack/validate/yamllint.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hack/validate/yamllint.yaml b/hack/validate/yamllint.yaml index e1f8c6b024..93a2b3b787 100644 --- a/hack/validate/yamllint.yaml +++ b/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/