@jsenv/github-check-run 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@ export const startGithubCheckRun = async ({
|
|
|
55
55
|
logger.debug("create check on");
|
|
56
56
|
|
|
57
57
|
const check = await POST({
|
|
58
|
-
url:
|
|
58
|
+
url: `https://github.com/repos/${repositoryOwner}/${repositoryName}/check-runs`,
|
|
59
59
|
githubToken,
|
|
60
60
|
body: {
|
|
61
61
|
head_sha: commitSha,
|
|
@@ -83,7 +83,7 @@ export const startGithubCheckRun = async ({
|
|
|
83
83
|
let annotationsSent = 0;
|
|
84
84
|
const annotationsBatch = annotations.slice(annotationsSent, 50);
|
|
85
85
|
await PATCH({
|
|
86
|
-
url:
|
|
86
|
+
url: `https://github.com/repos/${repositoryOwner}/${repositoryName}/check-runs`,
|
|
87
87
|
githubToken,
|
|
88
88
|
body: {
|
|
89
89
|
head_sha: commitSha,
|
|
@@ -111,7 +111,7 @@ export const startGithubCheckRun = async ({
|
|
|
111
111
|
while (annotationsSent < annotations.length) {
|
|
112
112
|
const annotationsBatch = annotations.slice(annotationsSent, 50);
|
|
113
113
|
await PATCH({
|
|
114
|
-
url:
|
|
114
|
+
url: `https://github.com/repos/${repositoryOwner}/${repositoryName}/check-runs`,
|
|
115
115
|
githubToken,
|
|
116
116
|
body: {
|
|
117
117
|
head_sha: commitSha,
|