👷 Tweak generate client to error out if there are errors (#1377)
This commit is contained in:

committed by
GitHub

parent
1030118247
commit
38843cbe28
2
.github/workflows/generate-client.yml
vendored
2
.github/workflows/generate-client.yml
vendored
@@ -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)
|
||||
|
Reference in New Issue
Block a user