Allow the default branch as branch name

What does this MR do?

This makes sure that the default branch of a project is allowed as a branch name, even if it does not match the push rule.

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • Tests added for this feature/bug
  • Review
    • Has been reviewed by Backend

What are the relevant issue numbers?

Closes #3670 (closed)

Edited by Bob Van Landuyt

Merge request reports

Loading