Skip to content

Commit 627a44b

Browse files
kyleconroyclaude
andcommitted
Fail the gen workflow when the generated dialects differ
The artifact is uploaded first, so a run whose output differs still hands over the files. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VrrewZQhCf82hp68FWNFLj
1 parent 73fe3ce commit 627a44b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/gen.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ jobs:
3333
with:
3434
name: dialects
3535
path: internal/engine/*/dialect
36+
- name: Fail if the committed dialects differ
37+
run: git add -N internal/engine && git diff --exit-code --stat -- internal/engine

0 commit comments

Comments
 (0)