From fc3c738fb5a8bf4a46ee2a23802473eee76dcd26 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Fri, 15 Mar 2024 10:34:02 +0100 Subject: [PATCH] Finally: yes and no. --- files/yamllint | 6 +++++- templates/ansible-lint.j2 | 3 --- templates/molecule-action.yml.j2 | 2 +- templates/requirements2png.yml.j2 | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/files/yamllint b/files/yamllint index a7ff098..10d5946 100644 --- a/files/yamllint +++ b/files/yamllint @@ -9,7 +9,11 @@ rules: max-spaces-inside: 1 level: error line-length: disable - truthy: disable + truthy: + check-keys: no + allowed-values: + - "yes" + - "no" ignore: | .tox/ diff --git a/templates/ansible-lint.j2 b/templates/ansible-lint.j2 index 14cfbc0..b516a34 100644 --- a/templates/ansible-lint.j2 +++ b/templates/ansible-lint.j2 @@ -17,8 +17,5 @@ exclude_paths: - .github - requirements.yml -skip_list: - - yaml[truthy] - enable_list: - name[prefix] diff --git a/templates/molecule-action.yml.j2 b/templates/molecule-action.yml.j2 index 8666dbc..e211bf2 100644 --- a/templates/molecule-action.yml.j2 +++ b/templates/molecule-action.yml.j2 @@ -24,7 +24,7 @@ jobs: - lint runs-on: ubuntu-20.04 strategy: - fail-fast: false + fail-fast: no matrix: config: {% for platform in meta.galaxy_info.platforms %} diff --git a/templates/requirements2png.yml.j2 b/templates/requirements2png.yml.j2 index 774590c..0f8a65a 100644 --- a/templates/requirements2png.yml.j2 +++ b/templates/requirements2png.yml.j2 @@ -32,5 +32,5 @@ jobs: with: directory: {% raw %}${{ github.repository }}{% endraw %} - force: true + force: yes branch: png