workflow
parent
12d21037c2
commit
ac66355311
|
|
@ -8,7 +8,8 @@ on:
|
|||
required: false
|
||||
default: ''
|
||||
|
||||
permissions: write-all
|
||||
permissions:
|
||||
checks: write
|
||||
|
||||
env:
|
||||
GKE_ZONE: 'us-central1'
|
||||
|
|
|
|||
|
|
@ -6468,12 +6468,12 @@ class GitHub {
|
|||
}
|
||||
static updateGitHubCheckRequest(data) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
return yield GitHub.octokit.request(`PATCH /repos/${GitHub.owner}/${GitHub.repo}/check-runs/${GitHub.checkRunId}`, data);
|
||||
return yield GitHub.octokit.request(`PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}`, data);
|
||||
});
|
||||
}
|
||||
static createGitHubCheckRequest(data) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
return yield GitHub.octokit.request(`POST /repos/${GitHub.owner}/${GitHub.repo}/check-runs`, data);
|
||||
return yield GitHub.octokit.request(`POST /repos/{owner}/{repo}/check-runs`, data);
|
||||
});
|
||||
}
|
||||
static runUpdateAsyncChecksWorkflow(data, mode) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -117,14 +117,11 @@ class GitHub {
|
|||
}
|
||||
|
||||
public static async updateGitHubCheckRequest(data) {
|
||||
return await GitHub.octokit.request(
|
||||
`PATCH /repos/${GitHub.owner}/${GitHub.repo}/check-runs/${GitHub.checkRunId}`,
|
||||
data,
|
||||
);
|
||||
return await GitHub.octokit.request(`PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}`, data);
|
||||
}
|
||||
|
||||
public static async createGitHubCheckRequest(data) {
|
||||
return await GitHub.octokit.request(`POST /repos/${GitHub.owner}/${GitHub.repo}/check-runs`, data);
|
||||
return await GitHub.octokit.request(`POST /repos/{owner}/{repo}/check-runs`, data);
|
||||
}
|
||||
|
||||
public static async runUpdateAsyncChecksWorkflow(data, mode) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue