👷 Tweak generate client to error out if there are errors (#1377)

This commit is contained in:
Sebastián Ramírez
2024-09-27 17:53:31 +02:00
committed by GitHub
parent 1030118247
commit 38843cbe28

View File

@@ -54,4 +54,4 @@ jobs:
- name: Check changes
if: ( github.event_name == 'pull_request' && github.secret_source != 'Actions' )
run: |
git diff --staged --quiet || echo "Changes detected in generated client, run scripts/generate-client.sh and commit the changes"
git diff --staged --quiet || (echo "Changes detected in generated client, run scripts/generate-client.sh and commit the changes" && exit 1)