From 15d5a080219ea29fe8267e2f6c708f183316b566 Mon Sep 17 00:00:00 2001 From: Henri Remonen Date: Mon, 2 Oct 2023 19:53:33 +0300 Subject: [PATCH] feat: Remove the default skip ci tag on docs commit. refs: #5 --- .DS_Store | Bin 6148 -> 0 bytes pkg/commit/commit.go | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 7c30f6084de46f8bdf46635b57930165037d03d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK!AiqG5S?u!R;^Gx33>?qfMV|+Vu^T`f}TWaBemF=Lfe}{4t|FJ;1ASezd-OL z9>ve_&F-4+Cap&)vIDy>nc2zPeQ9>OL?l|1s7X{Kq6!+Lw~20nahzMhO4_pz6#R@q zui5S<@vtz`Ih+DcfmKw1zg>?S)T2I)&F{B*|9WV~;v@_^gQNo=Zw6np^VyLdkA960 zZ{~YL^@;ZzTL0mt8=6qZWCzK(IKrModij1P=a73&oR~9NHp-k2kt2fc4`wXKdGe;#oaN?N3vrXTbjP%kH^Ev*_DVM{ z%$Ui$^ZC3zJ=O0!BAILQE{dDHs=h$qA>C5XW^L?&RYy!tqICMAeq&kGdat>t%_mFH z8jb0i_06x8MIa-Zdq-$$oaa?PC tv@0|=9+xVVDd==LmKR)#chRIF=JN$G(3mQO2j>0=NEuw`6!=pGz5%7;#)kj^ diff --git a/pkg/commit/commit.go b/pkg/commit/commit.go index 054512e..71fbcc3 100644 --- a/pkg/commit/commit.go +++ b/pkg/commit/commit.go @@ -66,10 +66,11 @@ func createCommitMessage(commitInfo Info) string { commitMessage += "\n\n" + commitInfo.CommitBody } - if commitInfo.CommitType == "docs" { + // TODO: ADD configurable option for adding [skip ci] to commit message on docs commits + /* if commitInfo.CommitType == "docs" { commitMessage += "\n" commitMessage += "\n[skip ci]" - } + } */ if commitInfo.IsBreakingChange { commitMessage += "\n"