diff --git a/lib/platform/github/index.ts b/lib/platform/github/index.ts index e741f2a65ce089b034cb70164aa1505fb56ffe40..d2f92be8a658aaa109129fef471ed03d2fd875bd 100644 --- a/lib/platform/github/index.ts +++ b/lib/platform/github/index.ts @@ -391,7 +391,10 @@ export async function initRepo({ logger.debug('Using forkToken for git init'); parsedEndpoint.auth = config.forkToken; } else { - logger.debug('Using personal access token for git init'); + const tokenType = opts.token?.startsWith('x-access-token:') + ? 'app' + : 'personal access'; + logger.debug(`Using ${tokenType} token for git init`); parsedEndpoint.auth = opts.token; } parsedEndpoint.host = parsedEndpoint.host.replace(