From 940a7e094bed5d787190e34a90068ba3018dde5b Mon Sep 17 00:00:00 2001 From: agentson Date: Sun, 1 Mar 2026 20:35:22 +0900 Subject: [PATCH] workflow: skip main/master branch guard in --ci mode --- scripts/session_handover_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/session_handover_check.py b/scripts/session_handover_check.py index 7b354be..dfe200b 100755 --- a/scripts/session_handover_check.py +++ b/scripts/session_handover_check.py @@ -134,7 +134,7 @@ def main() -> int: branch = _current_branch() if not branch: errors.append("cannot resolve current git branch") - elif branch in {"main", "master"}: + elif not args.ci and branch in {"main", "master"}: errors.append(f"working branch must not be {branch}") _check_handover_entry(