Skip to content

Commit

Permalink
fix: add template changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Apr 25, 2024
1 parent 7b56a31 commit 4a94171
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ export class OwlBotTemplateChangesNode extends OwlBotTemplateChanges {
);

// We are looking for an antipattern, i.e., if title does not include fix or feat, and if body does not include PiperOrigin and no other owlBot PRs and no other commit authors
return authorshipMatches && titleMatches && !bodyMatches && !otherOwlBotPRs && !otherCommitAuthors;
return (
authorshipMatches &&
titleMatches &&
!bodyMatches &&
!otherOwlBotPRs &&
!otherCommitAuthors
);
}
}

0 comments on commit 4a94171

Please sign in to comment.