File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -32594,7 +32594,9 @@ const tc = __importStar(__nccwpck_require__(3472));
3259432594const github = __importStar(__nccwpck_require__(3228));
3259532595const os_1 = __importDefault(__nccwpck_require__(857));
3259632596const path_1 = __importDefault(__nccwpck_require__(6928));
32597- const octokit = github.getOctokit(core.getInput("github-token"));
32597+ const octokit = github.getOctokit(core.getInput("github-token"), {
32598+ baseUrl: "https://api.github.com",
32599+ });
3259832600const downloadURL = "https://github.com/spacelift-io/spacectl/releases/download";
3259932601/**
3260032602 * Downloads the Spacectl binary from GitHub.
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ import * as github from "@actions/github";
44import os from "os" ;
55import path from "path" ;
66
7- const octokit = github . getOctokit ( core . getInput ( "github-token" ) ) ;
7+ const octokit = github . getOctokit ( core . getInput ( "github-token" ) , {
8+ baseUrl : "https://api.github.com" ,
9+ } ) ;
810const downloadURL = "https://github.com/spacelift-io/spacectl/releases/download" ;
911
1012/**
You can’t perform that action at this time.
0 commit comments