feat. Enforce repo review config
This commit is contained in:
@@ -21,9 +21,11 @@ def parse_command(body: str) -> ParsedCommand | None:
|
||||
if "--full" in tokens:
|
||||
parsed.full = True
|
||||
parsed.mode = "full"
|
||||
parsed.mode_explicit = True
|
||||
for mode in ("security", "performance", "tests"):
|
||||
if mode in tokens:
|
||||
parsed.mode = mode
|
||||
parsed.mode_explicit = True
|
||||
break
|
||||
elif name == "fix":
|
||||
parsed.branch_fix = "--branch" in tokens
|
||||
|
||||
Reference in New Issue
Block a user