You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It wasn't designed as a feature per se but generally, I would say yes this is expected behaviour. GitHub's UI allows you to open to PRs for the same branch as well.
I see. The thing that seems strange is that only the PRs created to main branch are being duplicated for me. I have an action that creates a PR to develop and a PR to main, and if I run that action several times, only the ones to master are being duplicated. I'm creating the one to develop as a draft, could that make the difference?
I see. The thing that seems strange is that only the PRs created to main branch are being duplicated for me. I have an action that creates a PR to develop and a PR to main, and if I run that action several times, only the ones to master are being duplicated. I'm creating the one to develop as a draft, could that make the difference?
Potentially :)
I haven't tested all these cases against GitHub's API to be honest.
Maybe have a look at GitHub's CLI as well. It comes pre-installed in all virtual environments and may have a feature for not duplicating an existing PR.
Running this action twice for the same branch and base creates two distinct PRs. Is this the expected behavior?
The text was updated successfully, but these errors were encountered: