Skip to content

Commit a484a24

Browse files
author
mafyuh
committedDec 13, 2024
Update .forgejo/workflows/yamllint.yml
1 parent d3660ec commit a484a24

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎.forgejo/workflows/yamllint.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,9 @@ jobs:
2121
2222
- name: Lint .yml files
2323
run: |
24-
find docker -name "*.yml" -exec yamllint --strict -d "{extends: relaxed, rules: {line-length: {max: 120}}}" -f parsable {} \;
24+
lint_output=$(find docker -name "*.yml" yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" {} \;)
25+
26+
if [[ -n "$lint_output" ]]; then
27+
echo "$lint_output"
28+
exit 1
29+
fi

0 commit comments

Comments
 (0)
Please sign in to comment.