From 5731a1539ba5c5a64fe410eb2d1c9b7caac14a4b Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Wed, 18 Oct 2023 15:32:19 -0300 Subject: [PATCH] upstream CI: Pin ansible-lint version to 6.20 series The release version 6.21.0 of ansible-lint introduced a bug that breaks the reporting of 'warning' messages. [1] This patch pins ansible-lint version to the latest one in the 6.20 series, so that it can still be used to check pull requests. [1]: https://github.com/ansible/ansible-lint/issues/3853 --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 28d20c16..1b426f6a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: python-version: "3.x" - name: Run ansible-lint run: | - pip install "ansible-core >=2.15,<2.16" ansible-lint + pip install "ansible-core >=2.15,<2.16" 'ansible-lint<6.21' utils/build-galaxy-release.sh -ki cd .galaxy-build ansible-lint --profile production --exclude tests/integration/ --exclude tests/unit/ --parseable --nocolor -- GitLab