Merge pull request #397 from github/robertbrignull/runner_auth
Set externalRepoAuth
This commit is contained in:
commit
41b73e168c
3 changed files with 3 additions and 1 deletions
1
lib/runner.js
generated
1
lib/runner.js
generated
|
|
@ -107,6 +107,7 @@ program
|
||||||
const auth = await util_1.getGitHubAuth(logger, cmd.githubAuth, cmd.githubAuthStdin);
|
const auth = await util_1.getGitHubAuth(logger, cmd.githubAuth, cmd.githubAuthStdin);
|
||||||
const apiDetails = {
|
const apiDetails = {
|
||||||
auth,
|
auth,
|
||||||
|
externalRepoAuth: auth,
|
||||||
url: util_1.parseGithubUrl(cmd.githubUrl),
|
url: util_1.parseGithubUrl(cmd.githubUrl),
|
||||||
};
|
};
|
||||||
const gitHubVersion = await util_1.getGitHubVersion(apiDetails);
|
const gitHubVersion = await util_1.getGitHubVersion(apiDetails);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -162,6 +162,7 @@ program
|
||||||
|
|
||||||
const apiDetails = {
|
const apiDetails = {
|
||||||
auth,
|
auth,
|
||||||
|
externalRepoAuth: auth,
|
||||||
url: parseGithubUrl(cmd.githubUrl),
|
url: parseGithubUrl(cmd.githubUrl),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue