pull/479/head
Frostebite 2023-01-19 00:25:50 +00:00
parent 12d21037c2
commit ac66355311
4 changed files with 7 additions and 9 deletions

View File

@ -8,7 +8,8 @@ on:
required: false
default: ''
permissions: write-all
permissions:
checks: write
env:
GKE_ZONE: 'us-central1'

4
dist/index.js vendored
View File

@ -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) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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) {