There was an error while loading. Please reload this page.
1 parent 6538cec commit 19cc74bCopy full SHA for 19cc74b
1 file changed
.github/workflows/ci.yaml
@@ -54,7 +54,7 @@ jobs:
54
55
- name: Check if Go code has changed
56
run: |
57
- if git diff --exit-code; then
+ if git diff --exit-code -- '*.go' '*.proto' '*.yaml' '*.json' ':!*.sum'; then
58
echo "Generated Go code has not changed."
59
else
60
echo "Generated Go code has changed. Please make sure to commit the changes."
0 commit comments