File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ async function run(): Promise<void> {
2121 const ctx = github . context ;
2222 const branch = ctx . ref . replace ( "refs/heads/" , "" ) ;
2323
24+ const previewUrl = {
25+ branch : `https://${ branchToSubdomain ( branch ) } .preview.developers.cloudflare.com` ,
26+ commit : `https://${ ctx . sha . slice ( 0 , 8 ) } .preview.developers.cloudflare.com` ,
27+ } ;
28+
29+ core . info (
30+ `Commit URL: ${ previewUrl . commit } \nBranch URL: ${ previewUrl . branch } ` ,
31+ ) ;
32+
2433 core . info ( `Finding pull requests for ${ ctx . ref } ` ) ;
2534
2635 const { data : pulls } = await octokit . rest . pulls . list ( {
@@ -63,15 +72,6 @@ async function run(): Promise<void> {
6372 core . info ( `No existing comment found` ) ;
6473 }
6574
66- const previewUrl = {
67- branch : `https://${ branchToSubdomain ( branch ) } .preview.developers.cloudflare.com` ,
68- commit : `https://${ ctx . sha . slice ( 0 , 8 ) } .preview.developers.cloudflare.com` ,
69- } ;
70-
71- core . info (
72- `Commit URL: ${ previewUrl . commit } \nBranch URL: ${ previewUrl . branch } ` ,
73- ) ;
74-
7575 const changedFiles = files
7676 . filter (
7777 ( file ) =>
You can’t perform that action at this time.
0 commit comments