Migrate review automation to OpenCode
This commit is contained in:
1 parent
27db22cd78
commit
8aaecb4dc7
21 files changed
+2703
-713
No files matched your search
+9
-7
@@ -15,18 +15,20 @@ export type PullRequestFile = {
|
||||
export type ReviewFinding = {
|
||||
path: string;
|
||||
line: number;
|
||||
severity: "blocking" | "suggestion";
|
||||
title: string;
|
||||
body: string;
|
||||
};
|
||||
|
||||
export type ReviewDecision = {
|
||||
safeToMerge: boolean;
|
||||
shouldClosePullRequest: boolean;
|
||||
closeReason: string;
|
||||
summary: string;
|
||||
fixTips: string[];
|
||||
findings: ReviewFinding[];
|
||||
review: ReviewFinding[];
|
||||
change: ReviewFinding[];
|
||||
comment: string;
|
||||
result: {
|
||||
canMerge: boolean;
|
||||
summary: string;
|
||||
shouldClosePullRequest: boolean;
|
||||
closeReason: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type ReviewMode = "strict" | "lenient";
|
||||
|
||||
Reference in new issue
Block a user