We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ff8a8 commit ef49cbfCopy full SHA for ef49cbf
1 file changed
.github/workflows/check-go-generate.yaml
@@ -35,9 +35,13 @@ jobs:
35
- name: Check for changes
36
id: check_changes
37
run: |
38
- # Create a temporary file for the diff, ignoring footer lines and protoc versions
39
- git diff --ignore-matching-lines="Auto generated by spf13/cobra on" --ignore-matching-lines="protoc v[0-9]" > changes.diff
40
-
+ # Create a temporary file for the diff, ignoring footer lines
+ # Also ignore BASE protoc version; DO CHECK protoc-gen-go, protoc-gen-go-grpc versions
+ git diff \
41
+ --ignore-matching-lines="Auto generated by spf13/cobra " \
42
+ --ignore-matching-lines="protoc " \
43
+ > changes.diff
44
+
45
# Check if there are any changes
46
if [ -s changes.diff ]; then
47
echo "has_changes=true" >> $GITHUB_OUTPUT
0 commit comments