Added action

This commit is contained in:
Martin Selbmann 2024-01-24 13:06:11 +01:00
parent 38c4d707de
commit a0f32eab7c
No known key found for this signature in database
GPG key ID: 15AE4E9D9405B454

View file

@ -194,6 +194,12 @@ async function main() {
prDetails.repo,
prDetails.pull_number
);
} else if (eventData.action === "review_requested") {
diff = await getDiff(
prDetails.owner,
prDetails.repo,
prDetails.pull_number
);
} else if (eventData.action === "synchronize") {
const newBaseSha = eventData.before;
const newHeadSha = eventData.after;