mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
Check 2 compared the Issue trailers against whatever branch the working tree happened to be on, over whatever range it was given. Those two are not the same set. After a rebase the CI range widens — `before` points at a discarded commit, the merge-base slides back, and commits that belong to dev arrive carrying other issue numbers. Every one of them then looks like a violation. Running the gate over real history from issue/89 with a dev range produced 26 false refusals out of 26 commits, which would have reddened Validate on the next force-push of any task branch. The rule now reads origin/dev..HEAD for its own verdict and leaves the event range to the other checks. A commit that genuinely carries the wrong trailer for its branch is still caught; the integration test covers both directions. Issue: #105 User-Visible: no