Convert reviewer to GitHub Actions workflow

This commit is contained in:
lezi-fun committed 2026-05-16 13:15:14 +08:00
1 parent 9d40d7850f
commit 50d0ae5be9
18 files changed
+541 -2641

No files matched your search

+4
View File
@@ -14,6 +14,10 @@ export function formatReviewBody(decision: ReviewDecision, unpostedFindings: Rev
`Decision: ${decision.safeToMerge ? "safe to merge" : "changes requested"}`
];
if (mode === "strict" && !decision.safeToMerge && !decision.shouldClosePullRequest) {
lines.push("", "Need a narrower pass? Comment `/lenient-check` on this PR.");
}
if (unpostedFindings.length > 0) {
lines.push("", "Findings that could not be attached inline:");
for (const finding of unpostedFindings) {