We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3660ec commit a484a24Copy full SHA for a484a24
.forgejo/workflows/yamllint.yml
@@ -21,4 +21,9 @@ jobs:
21
22
- name: Lint .yml files
23
run: |
24
- 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}}}" {} \;)
25
+
26
+ if [[ -n "$lint_output" ]]; then
27
+ echo "$lint_output"
28
+ exit 1
29
+ fi
0 commit comments