Skip to content

Commit 214246c

Browse files
The Terraform Teamkmoe
andauthored
backport of commit 3414456 (#32144)
Co-authored-by: Katy Moe <katy@katy.moe>
1 parent db49c26 commit 214246c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/goimportscheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fi
2929
# "IFS" environment variable, but the primary place we want to run this right
3030
# now is in our "quick checks" workflow and that _does_ have a reasonably
3131
# modern version of Bash.
32-
readarray -t target_files < <(git diff --name-only ${base_branch} --diff-filter=MA | grep "\.go" | grep -v ".pb.go")
32+
readarray -t target_files < <(git diff --name-only ${base_branch} --diff-filter=MA | grep "\.go" | grep -v ".pb.go" | grep -v ".go-version")
3333

3434
# NOTE: The above intentionally excludes .pb.go files because those are
3535
# generated by a tool (protoc-gen-go) which itself doesn't produce

0 commit comments

Comments
 (0)