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
parent
commit
38843cbe28
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/generate-client.yml

2
.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)

Loading…
Cancel
Save