Skip to content

Commit 87b3943

Browse files
committed
action: add verification for generated changes in root
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
1 parent 18b3413 commit 87b3943

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docker-build.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
fetch-depth: 0
2525

2626
- name: Build operator docker image
27-
run: make docker-build
27+
run: |
28+
make docker-build
29+
msg='Uncommitted generated changes. run `make docker-build` and commit results.'
30+
git diff --exit-code . || (echo -e '\e[31m'"$msg"; exit 1)
2831
2932
bundle-build:
3033
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)