diff --git a/.github/workflows/api-schema.yml b/.github/workflows/api-schema.yml index f78ed50b3..7005ae7e2 100644 --- a/.github/workflows/api-schema.yml +++ b/.github/workflows/api-schema.yml @@ -53,11 +53,11 @@ jobs: git checkout $commit make --quiet schema + git diff -- schema.yml git add schema.yml git diff-index --quiet HEAD -- || { echo "ERROR: Schema is outdated for commit $commit" git show --quiet - git diff -- schema.yml exit 1 } done