Fail-closed verdict #3
Reference in New Issue
Block a user
Delete Branch "fold-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
prompt.md: the review's first line is exactlyYes,No, orWith fixes; the second line is the@botinstruction when notYes. Everything outside<details>blocks stays under 512 bytes: only the verdict, the@botline, and headings are visible; anything verbose folds into a top-level<details>(Gitea breaks them inside list items).run.ts: the review event comes from an equality lookup on that first line,Yes→ APPROVED,No/With fixes→ REQUEST_CHANGES, anything else → COMMENT, so an unexpected response never approves. No@botorBot failed:matching remains. Failures throw and one catch postsBot failed: …as a comment.Verified:
deno fmt --check,deno lint,deno check run.ts; the lookup onYes,With fixes,No,**Ready to merge?** Yes,Yes, ship it, and empty input.Fold review detailsto Fail-closed verdict