Update .forgejo/workflows/yamllint.yml

This commit is contained in:
Matt Reeves 2024-12-13 00:40:01 -05:00
parent d3660ec702
commit a484a24703

View file

@ -21,4 +21,9 @@ jobs:
- name: Lint .yml files
run: |
find docker -name "*.yml" -exec yamllint --strict -d "{extends: relaxed, rules: {line-length: {max: 120}}}" -f parsable {} \;
lint_output=$(find docker -name "*.yml" yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
if [[ -n "$lint_output" ]]; then
echo "$lint_output"
exit 1
fi