Commit 0478c41
Fix cross-repo PR selector ordering and base branch candidate normalization
- Reorder headSelectors so owner-qualified selectors (e.g. octocat:branch)
come before bare branch names when isCrossRepository is true, preventing
an unrelated same-repo PR from being matched first.
- Extend base branch candidate normalization to strip the dynamic
primaryRemoteName prefix (not just hardcoded 'origin/'), so candidates
stored with a non-origin remote prefix are correctly normalized.
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>1 parent 1dc2116 commit 0478c41
2 files changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
| 568 | + | |
| 569 | + | |
568 | 570 | | |
569 | 571 | | |
570 | | - | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
571 | 575 | | |
572 | 576 | | |
573 | 577 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
492 | 496 | | |
493 | 497 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
501 | 505 | | |
502 | 506 | | |
503 | 507 | | |
| |||
0 commit comments