diff --git a/dist/index.js b/dist/index.js index eecf7053f..51b127067 100644 --- a/dist/index.js +++ b/dist/index.js @@ -93701,6 +93701,7 @@ const I = (x) => x const detectPrNumber = async () => { const { + GITHUB_API_URL, GITHUB_SHA, GITHUB_TOKEN, GITHUB_RUN_ID, @@ -93726,7 +93727,8 @@ const detectPrNumber = async () => { ) const client = new Octokit({ - auth: GITHUB_TOKEN + auth: GITHUB_TOKEN, + baseUrl: GITHUB_API_URL }) if (GITHUB_HEAD_REF) { diff --git a/index.js b/index.js index 80a0c9252..3ddccadc2 100644 --- a/index.js +++ b/index.js @@ -438,6 +438,7 @@ const I = (x) => x const detectPrNumber = async () => { const { + GITHUB_API_URL, GITHUB_SHA, GITHUB_TOKEN, GITHUB_RUN_ID, @@ -463,7 +464,8 @@ const detectPrNumber = async () => { ) const client = new Octokit({ - auth: GITHUB_TOKEN + auth: GITHUB_TOKEN, + baseUrl: GITHUB_API_URL }) if (GITHUB_HEAD_REF) {