1
0
Fork 0
mirror of https://github.com/imjasonh/snoop synced 2026-07-13 19:07:43 +00:00

fail when codegen mismatches

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2026-01-14 15:59:07 -05:00
parent 1fe85ea6e8
commit f40990236b

View file

@ -7,7 +7,7 @@ on:
permissions: {}
jobs:
build:
codegen:
runs-on: ubuntu-latest
permissions:
contents: write
@ -34,6 +34,8 @@ jobs:
git add .
git commit -m "Update generated code"
git push
exit 1 # Workflow should fail, so the PR author reviews the changes
else
echo "No changes to commit"
fi