From 4cd4e9ff98195f622e9bddd91df450ddc2523e71 Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Wed, 20 Mar 2024 11:41:37 +0000 Subject: [PATCH] Add .gitattributes to identify generated files to GitHub --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..60cdf5884c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# Tell GitHub about generated files + +# deepcopy and conversion-gen +zz_generated.* linguist-generated=true + +# Generated parts of manifests +/config/crd/bases/infrastructure.cluster.x-k8s.io_*.yaml linguist-generated=true +/config/webhook/manifests.yaml linguist-generated=true +/config/rbac/role.yaml linguist-generated=true + +# Generated API docs +/docs/book/src/api/*/** linguist-generated=true