mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 09:36:47 +00:00
Merge 1a8fe8cd7f
into a9a064dfa1
This commit is contained in:
commit
06c9240ea8
4 changed files with 1308 additions and 1298 deletions
|
@ -29,6 +29,7 @@ on:
|
||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
|
- review_requested
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
jobs:
|
jobs:
|
||||||
review:
|
review:
|
||||||
|
|
2597
dist/index.js
vendored
2597
dist/index.js
vendored
File diff suppressed because it is too large
Load diff
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -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
Add a link
Reference in a new issue