Configuring SECOM in your repository is very simple! 🤩
cd repository-path/
cd .git/
mkdir templates/
wget https://raw.githubusercontent.com/TQRG/secom/main/template/commit.secom
Setting an alias in your github configuration ~/.gitconfig
for security commits is helpful to distinguish security commits from other types of commits. Add the following to your ~/.gitconfig
file:
[alias]
secommit = commit -t .git/templates/commit.secom
Now, every time you want to commit your security patch just run git secommit
, fill the template different sections and git push
. 💥