From a484a247032daf0addc56b49d720d6e3f8f911c2 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Fri, 13 Dec 2024 00:40:01 -0500 Subject: [PATCH] Update .forgejo/workflows/yamllint.yml --- .forgejo/workflows/yamllint.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/yamllint.yml b/.forgejo/workflows/yamllint.yml index 35df05a..9a84f93 100644 --- a/.forgejo/workflows/yamllint.yml +++ b/.forgejo/workflows/yamllint.yml @@ -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