Skip to content

Commit

Permalink
Run yamllint with strict mode, fix issue (#33551)
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
silverwind authored Feb 10, 2025
1 parent c422f17 commit b330274
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cron-licenses.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: cron-licenses

on:
#schedule:
# - cron: "7 0 * * 1" # every Monday at 00:07 UTC
# schedule:
# - cron: "7 0 * * 1" # every Monday at 00:07 UTC
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ lint-templates: .venv node_modules ## lint template files

.PHONY: lint-yaml
lint-yaml: .venv ## lint yaml files
@poetry run yamllint .
@poetry run yamllint -s .

.PHONY: watch
watch: ## watch everything and continuously rebuild
Expand Down

0 comments on commit b330274

Please sign in to comment.