Skip to content

Commit

Permalink
👷 Tweak generate client to error out if there are errors (#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Sep 27, 2024
1 parent 1030118 commit 38843cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 38843cb

Please sign in to comment.