Browse Source
👷 Tweak generate client to error out if there are errors (#1377)
pull/13907/head
Sebastián Ramírez
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
.github/workflows/generate-client.yml
|
|
@ -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) |
|
|
|