Skip to content

Commit

Permalink
upstream CI: Pin ansible-lint version to 6.20 series
Browse files Browse the repository at this point in the history
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]: ansible/ansible-lint#3853
  • Loading branch information
rjeffman committed Oct 18, 2023
1 parent ee73542 commit 5731a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5731a15

Please sign in to comment.