BurendoUK / burendo-githooks

Default Git hooks for Burendo repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

burendo-githooks

Default Git hooks for Burendo repositories

pre-commit

A pre-commit is designed to catch any secret/private content being accidently commited to public repositories. These include AWS Account IDs, Access key IDs, IP addresses, email addresses etc... This can been adjusted to ignore lines beginning Subproject commit to avoid triggering its own pre-commit check ("40 character random (e.g. AWS secret access key, PAT)").

post-chckout

This is designed to update the .githooks submodule (this repo), whever there is a checkout action. If this is deemed too aggressive, we can look to adjust to something else.

About

Default Git hooks for Burendo repositories

License:Apache License 2.0


Languages

Language:Shell 100.0%