diff --git a/dist/index.js b/dist/index.js index 61c32ea..732e2fb 100755 --- a/dist/index.js +++ b/dist/index.js @@ -64,6 +64,7 @@ async function main() { const octokit = new Octokit({ auth: `token ${GITHUB_TOKEN}`, + baseUrl: process.env.GITHUB_API_URL || "https://api.github.com", userAgent: "pascalgn/size-label-action" }); diff --git a/index.js b/index.js index 1c9989e..3c3b155 100755 --- a/index.js +++ b/index.js @@ -58,6 +58,7 @@ async function main() { const octokit = new Octokit({ auth: `token ${GITHUB_TOKEN}`, + baseUrl: process.env.GITHUB_API_URL || "https://api.github.com", userAgent: "pascalgn/size-label-action" });