Skip to content

Commit dccd443

Browse files
silverwindGusted
authored andcommitted
Run yamllint with strict mode, fix issue (go-gitea#33551)
Previously yamllint would issue warnings for certain things, while still exiting with zero. Now warnings are treated like errors and will cause non-zero exit: ``` -s, --strict return non-zero exit code on warnings as well as errors ``` (cherry picked from commit b330274)
1 parent 344351b commit dccd443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ lint-templates: .venv node_modules
534534

535535
.PHONY: lint-yaml
536536
lint-yaml: .venv
537-
@poetry run yamllint .
537+
@poetry run yamllint -s .
538538

539539
.PHONY: security-check
540540
security-check:

0 commit comments

Comments
 (0)