mirror of
https://github.com/github/codeql-action.git
synced 2026-05-08 14:50:21 +00:00
Use the API URL from the environment if it is present.
This commit is contained in:
@@ -134,6 +134,7 @@ async function run() {
|
||||
auth: getRequiredInput("token"),
|
||||
externalRepoAuth: getOptionalInput("external-repository-token"),
|
||||
url: getRequiredEnvParam("GITHUB_SERVER_URL"),
|
||||
apiURL: getRequiredEnvParam("GITHUB_API_URL"),
|
||||
};
|
||||
|
||||
const gitHubVersion = await getGitHubVersionActionsOnly();
|
||||
|
||||
Reference in New Issue
Block a user