Repository navigation
fix(ci): accept workflow_dispatch events and prevent re-dispatch loop - #16
Conversation
|
openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
Review — BLOCKHead SHA: Change class: hook/workflow (auto-merge dispatcher + reusable engine) Blocks
Verdict: BLOCK openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
Review — BLOCKHead SHA: Change class: hook/workflow (auto-merge dispatcher + reusable engine) Blocks
Comments considered
Verdict: BLOCK openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (all three diff items accounted for in the body); no secrets, obfuscation, or exfiltration; T4 trigger check: the dispatcher filter is widened to exactly Notes (non-blocking):
Comments considered: Verdict: PASS openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action. |
fix(ci): accept workflow_dispatch events and fix re-dispatch loop
The change
Two bugs in the current auto-merge dispatcher:
Narrow event filter: Only fires on
event == 'pull_request',blocking
workflow_dispatch-triggered re-run validators.Validator re-dispatch loop: The CHANGELOG step has three paths,
only one of which reaches
fresh=true:Paths (a) and (b) set
stampbut exit beforefresh=true.Path (c) sets both. Dispatch condition
fresh == 'true'onlymatches path (c), breaking the re-dispatch loop.
How tested
The full Step 4 script (quoted above) shows the three exit paths.
Path (a) and (b) have
exit 0before thefresh=trueline, verifiedby tracing the control flow. The trigger change was verified against
GitHub's event type constants.
Change class
CI/workflow — two condition lines in the dispatcher, one
fresh=trueoutput in the engine, one CHANGELOG entry.
Project-rulebook compliance
Attribution
Assisted-by: pi ollama-cloud deepseek-v4-flash:preview (analysed on a live system)