Commit 108b868 1 parent 23d18de commit 108b868 Copy full SHA for 108b868
File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -93785,7 +93785,8 @@ const getCiBuildId = async () => {
93785
93785
GITHUB_SHA,
93786
93786
GITHUB_TOKEN,
93787
93787
GITHUB_RUN_ID,
93788
- GITHUB_REPOSITORY
93788
+ GITHUB_REPOSITORY,
93789
+ GITHUB_API_URL
93789
93790
} = process.env
93790
93791
93791
93792
const [owner, repo] = GITHUB_REPOSITORY.split('/')
@@ -93798,7 +93799,8 @@ const getCiBuildId = async () => {
93798
93799
)
93799
93800
93800
93801
const client = new Octokit({
93801
- auth: GITHUB_TOKEN
93802
+ auth: GITHUB_TOKEN,
93803
+ baseUrl: GITHUB_API_URL
93802
93804
})
93803
93805
93804
93806
const resp = await client.request(
Original file line number Diff line number Diff line change @@ -522,7 +522,8 @@ const getCiBuildId = async () => {
522
522
GITHUB_SHA ,
523
523
GITHUB_TOKEN ,
524
524
GITHUB_RUN_ID ,
525
- GITHUB_REPOSITORY
525
+ GITHUB_REPOSITORY ,
526
+ GITHUB_API_URL
526
527
} = process . env
527
528
528
529
const [ owner , repo ] = GITHUB_REPOSITORY . split ( '/' )
@@ -535,7 +536,8 @@ const getCiBuildId = async () => {
535
536
)
536
537
537
538
const client = new Octokit ( {
538
- auth : GITHUB_TOKEN
539
+ auth : GITHUB_TOKEN ,
540
+ baseUrl : GITHUB_API_URL
539
541
} )
540
542
541
543
const resp = await client . request (
You can’t perform that action at this time.
0 commit comments