async workflow test for aws only
parent
2c14627097
commit
639a300112
|
|
@ -6108,7 +6108,7 @@ class GitHub {
|
|||
static updateGitHubCheck(checkRunId, owner, repo, token, name, sha, nameReadable, summary, longDescription) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const octokit = new core_1.Octokit({
|
||||
auth: token,
|
||||
auth: process.env.GITHUB_CHECK_TOKEN || token,
|
||||
});
|
||||
const data = {
|
||||
owner,
|
||||
|
|
@ -6145,7 +6145,7 @@ class GitHub {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
// call github api to create a check
|
||||
const octokit = new core_1.Octokit({
|
||||
auth: token,
|
||||
auth: process.env.CHECKS_API_TOKEN || token,
|
||||
});
|
||||
cloud_runner_logger_1.default.log(`POST /repos/${owner}/${repo}/check-runs`);
|
||||
const result = yield octokit.request(`POST /repos/${owner}/${repo}/check-runs`, {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -16,7 +16,7 @@ class GitHub {
|
|||
longDescription,
|
||||
) {
|
||||
const octokit = new Octokit({
|
||||
auth: token,
|
||||
auth: process.env.GITHUB_CHECK_TOKEN || token,
|
||||
});
|
||||
|
||||
const data: any = {
|
||||
|
|
@ -54,7 +54,7 @@ class GitHub {
|
|||
public static async createGitHubCheck(owner, repo, token, name, sha, nameReadable, summary) {
|
||||
// call github api to create a check
|
||||
const octokit = new Octokit({
|
||||
auth: token,
|
||||
auth: process.env.CHECKS_API_TOKEN || token,
|
||||
});
|
||||
|
||||
CloudRunnerLogger.log(`POST /repos/${owner}/${repo}/check-runs`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue