feat(rebase): Add support for --skip-ci flag
Description
The GitLab API supports skip_ci
param which will rebase the merge request skipping a CI pipeline.
This adds support for that feature via --skip-ci
flag.
Related Issues
Resolves #1190 (closed)
How has this been tested?
Opened an MR on my test project on GitLab.com: patrickbajao/cli-test!1. Then I update the target branch and rebase the MR via glab
:
$ bin/glab mr rebase 1 --repo patrickbajao/cli-test --skip-ci
Then confirm that the CI pipeline is skipped under "Pipelines" tab.
Screenshots (if appropriate):
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)
Closes #1190 (closed)