Skip to content

Commit f59061f

Browse files
authored
👷 Tweak generate client to error out if there are errors (fastapi#1377)
1 parent b8a0dff commit f59061f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/generate-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
- name: Check changes
5555
if: ( github.event_name == 'pull_request' && github.secret_source != 'Actions' )
5656
run: |
57-
git diff --staged --quiet || echo "Changes detected in generated client, run scripts/generate-client.sh and commit the changes"
57+
git diff --staged --quiet || (echo "Changes detected in generated client, run scripts/generate-client.sh and commit the changes" && exit 1)

0 commit comments

Comments
 (0)