mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-12 00:12:37 +01:00
Run yamllint with strict mode, fix issue (#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 b3302748fa2bed0265e4008a19f74d803fd2e244)
This commit is contained in:
parent
344351b712
commit
dccd443e04
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -534,7 +534,7 @@ lint-templates: .venv node_modules
|
|||
|
||||
.PHONY: lint-yaml
|
||||
lint-yaml: .venv
|
||||
@poetry run yamllint .
|
||||
@poetry run yamllint -s .
|
||||
|
||||
.PHONY: security-check
|
||||
security-check:
|
||||
|
|
Loading…
Add table
Reference in a new issue