Skip to content

add --yes flag to mr create and issue create and fix a bug

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

Created by: maxice8

Description

  1. Add a NoAction as the 0th (initialization) value for any code using cmdutils.Action
  2. Add --yes flag to mr create
  3. Add --yes flag to issue create

This also has the nice side-effect of fixing a nasty bug

Related Issue

Resolves #421 (closed)

How Has This Been Tested?

On Alpine Linux, creating https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/16238 without prompts

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