mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-04-06 02:33:04 +00:00
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
---
name: readme test
on:
- push
- pull_request
jobs:
ansible_test:
name: Verify readme
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- name: Run readme test
run: |
error=0
for i in roles/ipa*/README.md README-*.md; do grep -q $i README.md && echo "OK: $i" || { echo -e "\033[31;1mERROR: ${i} missing\033[0m"; error=1; } done
exit $error