Skip to content

Commit 38843cb

Browse files
authored
👷 Tweak generate client to error out if there are errors (#1377)
1 parent 1030118 commit 38843cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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