async pipeline
parent
483b94b942
commit
9ed1ef45f8
|
|
@ -6336,7 +6336,7 @@ const core_1 = __nccwpck_require__(76762);
|
|||
class GitHub {
|
||||
static createGitHubCheck(summary) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
if (!cloud_runner_options_1.default.githubChecks || cloud_runner_options_1.default.asyncCloudRunner) {
|
||||
if (!cloud_runner_options_1.default.githubChecks) {
|
||||
return ``;
|
||||
}
|
||||
const sha = cloud_runner_1.default.buildParameters.gitSha;
|
||||
|
|
@ -6380,7 +6380,7 @@ class GitHub {
|
|||
}
|
||||
static updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
if (!cloud_runner_options_1.default.githubChecks || cloud_runner_options_1.default.asyncCloudRunner) {
|
||||
if (!cloud_runner_options_1.default.githubChecks) {
|
||||
return;
|
||||
}
|
||||
GitHub.longDescriptionContent += `\n${longDescription}`;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -9,7 +9,7 @@ class GitHub {
|
|||
private static endedDate: string;
|
||||
|
||||
public static async createGitHubCheck(summary) {
|
||||
if (!CloudRunnerOptions.githubChecks || CloudRunnerOptions.asyncCloudRunner) {
|
||||
if (!CloudRunnerOptions.githubChecks) {
|
||||
return ``;
|
||||
}
|
||||
const sha = CloudRunner.buildParameters.gitSha;
|
||||
|
|
@ -56,7 +56,7 @@ class GitHub {
|
|||
}
|
||||
|
||||
public static async updateGitHubCheck(longDescription, summary, result = `neutral`, status = `in_progress`) {
|
||||
if (!CloudRunnerOptions.githubChecks || CloudRunnerOptions.asyncCloudRunner) {
|
||||
if (!CloudRunnerOptions.githubChecks) {
|
||||
return;
|
||||
}
|
||||
GitHub.longDescriptionContent += `\n${longDescription}`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue