Skip to content

Commit

Permalink
Set octokit's baseUrl explicitly (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
markszabo authored Jun 4, 2024
1 parent a70df70 commit a948e3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ async function downloadBazelisk() {
}

const token = core.getInput('token')
const octokit = github.getOctokit(token)
const octokit = github.getOctokit(token, {
baseUrl: 'https://api.github.com'
})
const { data: releases } = await octokit.rest.repos.listReleases({
owner: 'bazelbuild',
repo: 'bazelisk'
Expand Down

0 comments on commit a948e3e

Please sign in to comment.