Skip to content

Commit

Permalink
Add .gitattributes to identify generated files to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbooth committed Mar 20, 2024
1 parent 27b3cef commit 4cd4e9f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4cd4e9f

Please sign in to comment.