Skip to content

Commit 4cd4e9f

Browse files
committed
Add .gitattributes to identify generated files to GitHub
1 parent 27b3cef commit 4cd4e9f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.gitattributes

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Tell GitHub about generated files
2+
3+
# deepcopy and conversion-gen
4+
zz_generated.* linguist-generated=true
5+
6+
# Generated parts of manifests
7+
/config/crd/bases/infrastructure.cluster.x-k8s.io_*.yaml linguist-generated=true
8+
/config/webhook/manifests.yaml linguist-generated=true
9+
/config/rbac/role.yaml linguist-generated=true
10+
11+
# Generated API docs
12+
/docs/book/src/api/*/** linguist-generated=true

0 commit comments

Comments
 (0)