Skip to content

Commit

Permalink
Let github collapse BUILD.bazel files in certain locations
Browse files Browse the repository at this point in the history
BUILD.bazel files in pkg/, staging/ and tests/ are 100% auto-generated
and pretty much 100% of the time not something which need a review.

These paths are also the places where most of the code changes happen.

In the only case where they are normally an issue and need to be fixed
is when unintended custom modifications were done. In this case CI will
uncover that.

Signed-off-by: Roman Mohr <[email protected]>
  • Loading branch information
rmohr committed Jul 1, 2022
1 parent 075df42 commit 71bad80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
vendor/* linguist-vendored
pkg/**/BUILD.bazel linguist-vendored
staging/**/BUILD.bazel linguist-vendored
tests/**/BUILD.bazel linguist-vendored
tests/conformance/BUILD.bazel linguist-vendored=false

0 comments on commit 71bad80

Please sign in to comment.