{{ message }}
Repository navigation
Commit 8ddb737
committed
fix(review-agent-governance): make target_branch optional with has-guard (wshobson#598)
Non-git Bash actions (gh pr comment, etc.) don't carry target_branch, so
requiring it in the schema would make every such request error at runtime.
Mark it optional and guard rule 3 with `context has target_branch` so the
git-push-to-protected-branch forbid only applies when a branch is supplied.
cedar validate stays clean (optional attr accessed under a has-guard).1 parent bdf6e19 commit 8ddb737
2 files changed
Lines changed: 2 additions & 1 deletion

0 commit comments