We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc26c9d commit d532996Copy full SHA for d532996
src/bors/handlers/review.rs
@@ -145,7 +145,11 @@ pub(super) async fn command_close_tree(
145
repo_state.repository(),
146
TreeState::Closed {
147
priority,
148
- source: format!("https://github.com/{}/pull/1", repo_state.repository()),
+ source: format!(
149
+ "https://github.com/{}/pull/{}",
150
+ repo_state.repository(),
151
+ pr.number
152
+ ),
153
},
154
)
155
.await?;
@@ -479,7 +483,11 @@ mod tests {
479
483
repo.unwrap().tree_state,
480
484
481
485
priority: 5,
482
- source: format!("https://github.com/{}/pull/1", default_repo_name()),
486
487
488
+ default_repo_name(),
489
+ default_pr_number()
490
491
}
492
);
493
0 commit comments