Skip to content

Commit 987d527

Browse files
committed
pass pr number to the server selection link
1 parent 3bdcbfb commit 987d527

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/routes/actions/github.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,9 @@ function doubleEncode (str) {
359359

360360
function createServerSelectionUrl (owner, gitInfo) {
361361
return 'https://' + process.env.DOMAIN + '/' + owner + '/serverSelection/' +
362-
gitInfo.repo + '?branch=' + doubleEncode(gitInfo.branch) + '&commit=' + gitInfo.commit +
362+
gitInfo.repo + '?branch=' + doubleEncode(gitInfo.branch) +
363+
'&pr=' + gitInfo.number +
364+
'&commit=' + gitInfo.commit +
363365
'&message=' + doubleEncode(gitInfo.headCommit.message);
364366
}
365367

0 commit comments

Comments
 (0)