async workflow test for aws only

pull/479/head
Frostebite 2022-12-06 02:49:50 +00:00
parent 2c14627097
commit 639a300112
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View File

@ -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`, {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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`);