chore: package stuff :|

This commit is contained in:
L.F. Severgnini 2023-07-12 18:19:31 -03:00
parent 110dbf9095
commit ee328499f4
No known key found for this signature in database
GPG Key ID: 7371828D122DAF1E
2 changed files with 1302 additions and 1303 deletions

9
dist/index.js vendored

@ -210,16 +210,15 @@ function main() {
const newBaseSha = eventData.before;
const newHeadSha = eventData.after;
const response = yield octokit.repos.compareCommits({
headers: {
accept: "application/vnd.github.v3.diff",
},
owner: prDetails.owner,
repo: prDetails.repo,
base: newBaseSha,
head: newHeadSha,
});
diff = response.data.diff_url
? yield octokit
.request({ url: response.data.diff_url })
.then((res) => res.data)
: null;
diff = String(response.data);
}
else {
console.log("Unsupported event:", process.env.GITHUB_EVENT_NAME);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long