[go: up one dir, main page]

Skip to content

MR created with related-issue is always created as a draft

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: 1.22.0-186-g5ddf81e
  • Operating System and version: _MacOS Monterey zsh 5.8.1 (x86_64-apple-darwin21.0)

Summary

Steps to reproduce

glab version 1.22.0-186-g5ddf81e (2022-11-16)

  1. glab mr create --related-issue 1

What is the current bug behavior?

MR is set to draft

What is the expected correct behavior?

MR is not draft if draft flag is not specified

Possible fixes

Fix conditional: https://gitlab.com/gitlab-org/cli/-/blob/main/commands/mr/create/mr_create.go#L292

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information