Skip to content

fix(commands/mr/create): create merge request against headRepo

Kerri Miller requested to merge github/fork/maxice8/glab-create-mr into trunk

Created by: maxice8

Description

it is absolutely necessary that we create it against the headRepo, otherwise it will fail.

See: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16217 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16218 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16219 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16220 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16221 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16222 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16223 https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16224

All of them created to be cross-repo but ended up bad

Related Issue

Resolves #417 (closed)

How Has This Been Tested?

See Description

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports