Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
add changes to git commit type (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
nireeshT authored Jun 23, 2022
1 parent 16eaf74 commit 31dc0b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</description>
<url>https://github.com/Hygieia/${repository.name}</url>
<packaging>jar</packaging>
<version>3.3.12-SNAPSHOT</version>
<version>3.3.13-SNAPSHOT</version>


<parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ private static String getMergeEventSha(GitRequest pr, JSONObject timelineObject)
}

private CommitType getCommitType(int parentSize, String commitMessage) {
if (parentSize > 1) return CommitType.Merge;
if (parentSize >= 1) return CommitType.Merge;
if (settings.getNotBuiltCommits() == null) return CommitType.New;
if (!CollectionUtils.isEmpty(commitExclusionPatterns)) {
for (Pattern pattern : commitExclusionPatterns) {
Expand Down

0 comments on commit 31dc0b8

Please sign in to comment.