Skip to content

Commit deca4ad

Browse files
committed
Get GitHub API URL from env var
1 parent 17cde8a commit deca4ad

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/main.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15061,7 +15061,8 @@ async function main(appId2, privateKey2, repository2, core3, createAppAuth2, req
1506115061
repo,
1506215062
headers: {
1506315063
authorization: `bearer ${appAuthentication.token}`
15064-
}
15064+
},
15065+
baseUrl: process.env["GITHUB_API_URL"]
1506515066
}
1506615067
);
1506715068
const authentication = await auth({

lib/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export async function main(
4242
headers: {
4343
authorization: `bearer ${appAuthentication.token}`,
4444
},
45+
baseUrl: process.env["GITHUB_API_URL"],
4546
}
4647
);
4748

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)