Skip to content

Commit 5fdce04

Browse files
vohoanglong0107Vo Hoang Long
authored andcommitted
fix: update notify message for clarity
1 parent 29d9e78 commit 5fdce04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bors/handlers/review.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async fn notify_of_pushed_pr(
207207
.post_comment(
208208
pr_number,
209209
Comment::new(format!(
210-
r#":warning: Branch's head was changed to `{}`, the
210+
r#":warning: A new commit `{}` was pushed to the branch, the
211211
PR will need to be re-approved."#,
212212
head_sha
213213
)),
@@ -428,7 +428,7 @@ PR will need to be re-approved."#,
428428
assert_eq!(
429429
tester.get_comment().await?,
430430
format!(
431-
r#":warning: Branch's head was changed to `pr-{}-sha`, the
431+
r#":warning: A new commit `pr-{}-sha` was pushed to the branch, the
432432
PR will need to be re-approved."#,
433433
default_pr_number()
434434
)

0 commit comments

Comments
 (0)