Skip to content

gitlab-ci: Compute merge base against remote tracking branch

Ben Gamari requested to merge wip/cleanup-lint into master

Previously we would use the local branch with the name $CI_MERGE_REQUEST_TARGET_BRANCH_NAME to compute the merge base when linting. However, this branch isn't necessarily up-to-date. We should rather use origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME.

Merge request reports