From 2c1b4cc347f245272c16d1d4a9983d9aebb64c5d Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Fri, 29 May 2026 10:01:06 +0200 Subject: [PATCH] Make job pass yamllint --- .github/workflows/yaml-lint.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/yaml-lint.yaml b/.github/workflows/yaml-lint.yaml index cd7d9e3..fadfb70 100644 --- a/.github/workflows/yaml-lint.yaml +++ b/.github/workflows/yaml-lint.yaml @@ -4,14 +4,12 @@ name: Validate YAML on: push: paths: - - '.github/workflows/yaml-lint.yaml' - 'catalog/**' pull_request: paths: - - '.github/workflows/yaml-lint.yaml' - 'catalog/**' -permissions: read-all # zizmor: ignore[excessive-permissions] +permissions: read-all # zizmor: ignore[excessive-permissions] jobs: yaml_lint: @@ -20,12 +18,12 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: persist-credentials: false - name: Set up Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 with: python-version: "3.11" @@ -33,4 +31,7 @@ jobs: run: pip install yamllint - name: Lint YAML files - run: yamllint -s -d '{extends: default, rules: {line-length: disable, document-start: disable}}' catalog/ + run: >- + yamllint -s -d + '{extends: default, rules: {line-length: disable, document-start: disable}}' + catalog/