Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
ci(pull-request-labeler): Fixes incorrect applied labels for non fix/…
Browse files Browse the repository at this point in the history
…feat commits.
  • Loading branch information
thomaspink committed Dec 17, 2019
1 parent 95f1f6f commit 08eb18d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function processCommitMessages(
if (hasBreakingCommits) {
// The pull request contains breaking changes, it should be
targets.push('target: major');
} else if (hasFeatureCommits || !hasFixCommits) {
} else if (hasFeatureCommits && !hasFixCommits) {
targets.push('target: minor');
} else if (hasFixCommits) {
targets.push('target: minor', 'target: patch');
Expand Down

0 comments on commit 08eb18d

Please sign in to comment.