Update .forgejo/workflows/yamllint.yml

This commit is contained in:
Matt Reeves 2024-12-13 00:41:10 -05:00
parent a484a24703
commit 23cf4c25e7

View file

@ -21,8 +21,9 @@ jobs:
- name: Lint .yml files
run: |
lint_output=$(find docker -name "*.yml" yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
lint_output=$(find docker -name "*.yml" -exec yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
# Check if there are any issues
if [[ -n "$lint_output" ]]; then
echo "$lint_output"
exit 1