Skip to content

Commit fdd0ae3

Browse files
committed
Added treeclosed PR url in message
1 parent fa717b5 commit fdd0ae3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/bors/handlers/review.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,11 @@ pub(super) async fn command_close_tree(
145145
repo_state.repository(),
146146
TreeState::Closed {
147147
priority,
148-
// TODO: figure out a HTML URL to the PR
149-
source: "TODO".to_string(),
148+
source: format!(
149+
"https://github.com/{}/pull/{}",
150+
repo_state.repository(),
151+
pr.number
152+
),
150153
},
151154
)
152155
.await?;

0 commit comments

Comments
 (0)