Make the target branch configurable
Sometimes you do not want to land your code in the default branch, but in other place. Create a variable to set that target or use the MR target.
The precedence should be something like:
TARGET_VARIABLE > MR_TARGET > DEFAULT_BRANCH
Suggested by @hverkuil