Commit 418c1e2
committed
fix(workflow): check PR URL existence instead of branch for hasExistingPr
prepareImplementationBranch sets state.pullRequest with branch info
before the PR is actually created on GitHub. This caused the workflow
to always take the 'update PR' path instead of 'create PR' on the
first implementation pass. Now checks state.pullRequest?.url instead.1 parent e4012b9 commit 418c1e2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
649 | | - | |
| 649 | + | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
| |||
0 commit comments