mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-23 13:09:27 +08:00
Add missing API switch for GHES (#200)
This commit is contained in:
@@ -24,6 +24,7 @@ export class GitHubClient {
|
||||
const octokit = new RetryOctokit({
|
||||
auth: this.token,
|
||||
request: { retries: RETRY_COUNT },
|
||||
baseUrl: process.env["GITHUB_API_URL"] || "https://api.github.com",
|
||||
});
|
||||
const [owner, repo] = this.repository.split("/");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user