Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaosongzs committed Apr 9, 2024
1 parent 888a435 commit 6e4c1d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,12 +381,12 @@ private boolean updateTitle() {
}
return true;
}
// Automatically update PR title if pr title is not in canonical form
// Automatically update PR title if it's not in canonical form
if (title.equals(issueTitle) && !oldPrTitle.equals(newPrTitle)) {
pr.setTitle(newPrTitle);
return true;
}
// Automatically update PR title if titles are relaxed match but not exactly match
// Automatically update PR title if titles are a relaxed match but not an exact match
if (!title.equals(issueTitle) && CheckRun.relaxedEquals(title, issueTitle)) {
pr.setTitle(newPrTitle);
return true;
Expand Down

0 comments on commit 6e4c1d5

Please sign in to comment.