Do not run openapi generation twice on fail (#6987)

This commit is contained in:
qwerty287
2026-08-11 12:36:32 +02:00
committed by GitHub
parent 17f2e6e5f0
commit b8542e293f
+1 -1
View File
@@ -68,7 +68,7 @@ steps:
commands:
- 'make generate-openapi'
- 'DIFF=$(git diff | head)'
- '[ -n "$DIFF" ] && { echo "openapi not up to date, exec `make generate-openapi` and commit"; exit 1; } || true'
- '[ -n "$DIFF" ] && { echo "openapi not up to date, exec make generate-openapi and commit"; exit 1; } || true'
when: *when
lint-license-header: