Skip to content

Commit

Permalink
feat: Remove the default skip ci tag on docs commit.
Browse files Browse the repository at this point in the history
refs: #5
  • Loading branch information
HRemonen committed Oct 2, 2023
1 parent e882846 commit 15d5a08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file removed .DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions pkg/commit/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 15d5a08

Please sign in to comment.