in src/shipit/phase/ShipItGitHubInitPhase.php [87:109]
protected async function genRunImpl(
ShipItManifest $manifest,
): Awaitable<void> {
$class = $this->githubUtils;
$local_path = $this->side === ShipItRepoSide::SOURCE
? $manifest->getSourcePath()
: $manifest->getDestinationPath();
$credentials = null;
if ($this->transport !== ShipItTransport::SSH && !$this->anonymousHttps) {
$credentials = await $class::genCredentialsForProject(
$this->organization,
$this->project,
);
}
await $class::genInitializeRepo(
$this->organization,
$this->project,
$local_path,
$this->transport,
$credentials,
);
}