@@ -79,7 +79,7 @@ export async function linkGitHubRepository(
7979 projectId : string ,
8080 location : string
8181) : Promise < gcb . Repository > {
82- utils . logBullet ( clc . bold ( `${ clc . yellow ( "===" ) } Connect a GitHub repository ` ) ) ;
82+ utils . logBullet ( clc . bold ( `${ clc . yellow ( "===" ) } Set up a GitHub connection ` ) ) ;
8383 const existingConns = await listFrameworksConnections ( projectId ) ;
8484 if ( existingConns . length < 1 ) {
8585 const grantSuccess = await promptSecretManagerAdminGrant ( projectId ) ;
@@ -123,7 +123,8 @@ export async function linkGitHubRepository(
123123 appInstallationId : connection . githubConfig ?. appInstallationId ,
124124 } ) ;
125125 const repo = await getOrCreateRepository ( projectId , location , connectionId , remoteUri ) ;
126- utils . logSuccess ( `Successfully linked GitHub repository at remote URI:\n ${ remoteUri } ` ) ;
126+ utils . logSuccess ( `Successfully linked GitHub repository at remote URI` ) ;
127+ utils . logSuccess ( `\t${ remoteUri } ` ) ;
127128 return repo ;
128129}
129130
@@ -197,13 +198,13 @@ async function promptSecretManagerAdminGrant(projectId: string): Promise<Boolean
197198}
198199
199200async function promptConnectionAuth ( conn : gcb . Connection ) : Promise < gcb . Connection > {
200- utils . logBullet ( "You must authorize the Cloud Build GitHub app.\n " ) ;
201+ utils . logBullet ( "You must authorize the Cloud Build GitHub app." ) ;
201202 utils . logBullet ( "Sign in to GitHub and authorize Cloud Build GitHub app:" ) ;
202203 const { url, cleanup } = await utils . openInBrowserPopup (
203204 conn . installationState . actionUri ,
204205 "Authorize the GitHub app"
205206 ) ;
206- utils . logBullet ( `\t${ url } \n ` ) ;
207+ utils . logBullet ( `\t${ url } ` ) ;
207208 await promptOnce ( {
208209 type : "input" ,
209210 message : "Press Enter once you have authorized the app" ,
@@ -214,9 +215,9 @@ async function promptConnectionAuth(conn: gcb.Connection): Promise<gcb.Connectio
214215}
215216
216217async function promptAppInstall ( conn : gcb . Connection ) : Promise < gcb . Connection > {
217- utils . logBullet ( "Now, install the Cloud Build GitHub app: " ) ;
218+ utils . logBullet ( "Install the Cloud Build GitHub app to enable access to GitHub repositories " ) ;
218219 const targetUri = conn . installationState . actionUri . replace ( "install_v2" , "direct_install_v2" ) ;
219- utils . logBullet ( `\t ${ targetUri } ` ) ;
220+ utils . logBullet ( targetUri ) ;
220221 await utils . openInBrowser ( targetUri ) ;
221222 await promptOnce ( {
222223 type : "input" ,
0 commit comments