mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-02-20 16:20:27 +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.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;
|
||||
|
|
Loading…
Add table
Reference in a new issue