What is the "PR merge branch"? #26819
-
I have been working on optimising Actions workflows and only today noticed that actions/checkout when called on a PR without any options checks out a merge branch:
It is also mentioned here:
Can someone tell me what exactly this is? Intuitively it sounds like it is just merges target branch into the PR branch and runs the Actions. But is there some more documentation I can find for this? I would like to know what happens when there is merge conflict between the target branch and the PR branch. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
kartikdc:
Basically yes, though I’d phrase it the other way around. 🙂
kartikdc:
The |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. I should have been more careful reading that documentation. |
Beta Was this translation helpful? Give feedback.
Basically yes, though I’d phrase it the other way around. 🙂
The
pull_request
event documentation states that the workflow won’t run in that case.