From 6ed10a32026fedd17b99259e285368168b81d832 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Mon, 10 Nov 2025 18:10:28 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Sync=20the=20yamllint=20config?= =?UTF-8?q?=20w/=20`alls-green`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-push-docker-image.yml | 6 ++++-- .github/workflows/reusable-smoke-test.yml | 2 +- .github/workflows/zizmor.yml | 2 +- .yamllint | 10 ++++++++++ 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-push-docker-image.yml b/.github/workflows/build-and-push-docker-image.yml index e03bf3d..2f8bd17 100644 --- a/.github/workflows/build-and-push-docker-image.yml +++ b/.github/workflows/build-and-push-docker-image.yml @@ -2,10 +2,12 @@ name: ๐Ÿ—๏ธ -on: # yamllint disable-line rule:truthy +on: pull_request: push: - branches: ["release/*", "unstable/*"] + branches: + - release/* + - unstable/* workflow_dispatch: inputs: tag: diff --git a/.github/workflows/reusable-smoke-test.yml b/.github/workflows/reusable-smoke-test.yml index 2f1ef51..0aa4ec9 100644 --- a/.github/workflows/reusable-smoke-test.yml +++ b/.github/workflows/reusable-smoke-test.yml @@ -2,7 +2,7 @@ name: โ™ป๏ธ ๐Ÿงช -on: # yamllint disable-line rule:truthy +on: workflow_call: env: diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 5ddd818..2124106 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -2,7 +2,7 @@ name: GitHub Actions Security Analysis with zizmor ๐ŸŒˆ -on: # yamllint disable-line rule:truthy +on: push: pull_request: diff --git a/.yamllint b/.yamllint index 68bf02c..3dde2ea 100644 --- a/.yamllint +++ b/.yamllint @@ -6,5 +6,15 @@ rules: indentation: level: error indent-sequences: false + quoted-strings: + required: only-when-needed + truthy: + allowed-values: + - >- + false + - >- + true + - >- # Allow "on" key name in GHA CI/CD workflow definitions + on ...