mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-02-22 01:00:25 +00:00
Added action
This commit is contained in:
parent
38c4d707de
commit
a0f32eab7c
1 changed files with 6 additions and 0 deletions
|
@ -194,6 +194,12 @@ async function main() {
|
||||||
prDetails.repo,
|
prDetails.repo,
|
||||||
prDetails.pull_number
|
prDetails.pull_number
|
||||||
);
|
);
|
||||||
|
} else if (eventData.action === "review_requested") {
|
||||||
|
diff = await getDiff(
|
||||||
|
prDetails.owner,
|
||||||
|
prDetails.repo,
|
||||||
|
prDetails.pull_number
|
||||||
|
);
|
||||||
} else if (eventData.action === "synchronize") {
|
} else if (eventData.action === "synchronize") {
|
||||||
const newBaseSha = eventData.before;
|
const newBaseSha = eventData.before;
|
||||||
const newHeadSha = eventData.after;
|
const newHeadSha = eventData.after;
|
||||||
|
|
Loading…
Add table
Reference in a new issue