Skip to content

resource/gitlab_project: Only execute custom `default_branch` logic for GitLab < 14.10

GitLab 14.10 released with a bugfix for the default_branch field in the Projects REST API so that our custom logic is no longer required.

see gitlab#333426

Once GitLab 15.1 is out I suggest to remove that code entirely.

Merge request reports