0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-03-14 19:17:39 +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
```
This commit is contained in:
silverwind 2025-02-10 23:33:40 +01:00 committed by GitHub
parent c422f179dd
commit b3302748fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
name: cron-licenses name: cron-licenses
on: on:
#schedule: # schedule:
# - cron: "7 0 * * 1" # every Monday at 00:07 UTC # - cron: "7 0 * * 1" # every Monday at 00:07 UTC
workflow_dispatch: workflow_dispatch:
jobs: jobs:

View File

@ -393,7 +393,7 @@ lint-templates: .venv node_modules ## lint template files
.PHONY: lint-yaml .PHONY: lint-yaml
lint-yaml: .venv ## lint yaml files lint-yaml: .venv ## lint yaml files
@poetry run yamllint . @poetry run yamllint -s .
.PHONY: watch .PHONY: watch
watch: ## watch everything and continuously rebuild watch: ## watch everything and continuously rebuild