feat: allow to provide custom client-id
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1440
Merged-by: Oscar Tovar <otovar@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Greg Alfaro <galfaro@gitlab.com>
Approved-by: Oscar Tovar <otovar@gitlab.com>
Reviewed-by: Oscar Tovar <otovar@gitlab.com>
Co-authored-by: avoidik <avoidik@gmail.com>
feat(release): support `direct_asset_path` and alias `filepath`
Closes#1195
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1446
Merged-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Toon Claes <toon@gitlab.com>
Approved-by: Tomas Vik <tvik@gitlab.com>
Reviewed-by: Tomas Vik <tvik@gitlab.com>
Co-authored-by: Timo Furrer <tfurrer@gitlab.com>
chore(ci): remove deprecated Jobs/License-Scanning.latest.gitlab-ci.yml
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1448
Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Jay McCure <jmccure@gitlab.com>
fix(docs): w/o issue-no, the example will fail
Closes#7503
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1447
Merged-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Co-authored-by: Sebastian Gumprich <sebastian.gumprich@telekom.de>
chore: run tests with Go 1.22
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1445
Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Kai Armstrong <karmstrong@gitlab.com>
chore(docs): update dependencies for commit-lint script
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1439
Merged-by: Oscar Tovar <otovar@gitlab.com>
Approved-by: Ezekiel Kigbo <3397881-ekigbo@users.noreply.gitlab.com>
Approved-by: Oscar Tovar <otovar@gitlab.com>
Reviewed-by: Ezekiel Kigbo <3397881-ekigbo@users.noreply.gitlab.com>
Co-authored-by: Jay McCure <jmccure@gitlab.com>
chore(deps): update github.com/xanzy/go-gitlab to v0.103.0
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1441
Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Timo Furrer <tfurrer@gitlab.com>
fix(issue list): change output flag back to output-format
Closes#7491
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1425
Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Patrick Bajao <ebajao@gitlab.com>
Approved-by: Shekhar Patnaik <spatnaik@gitlab.com>
Reviewed-by: Patrick Bajao <ebajao@gitlab.com>
Reviewed-by: Jay McCure <jmccure@gitlab.com>
Co-authored-by: Jay McCure <jmccure@gitlab.com>
refactor: Moving sanitize function to utilities
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1432
Merged-by: Ahmed Hemdan <ahemdan@gitlab.com>
Approved-by: Patrick Bajao <ebajao@gitlab.com>
Approved-by: Ahmed Hemdan <ahemdan@gitlab.com>
Reviewed-by: Patrick Bajao <ebajao@gitlab.com>
Co-authored-by: Gary Holtz <gholtz@gitlab.com>
fix(deps): update github.com/xanzy/go-gitlab to v0.101.0
Closes#7504
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1428
Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Halil Coban <hcoban@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Reviewed-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Justen Stall <justenstall@gmail.com>
- Resolve merge conflicts
- Update "glab ci run-trig" to use new go-gitlab pointer functions
Fixes#7504
Signed-off-by: Justen Stall <justenstall@gmail.com>
feat: Add new command to run Pipeline Triggers
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1414
Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Timo Furrer <tfurrer@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Reviewed-by: Clément Saccoccio <git-clement@saccoccio.me>
Reviewed-by: Jay McCure <jmccure@gitlab.com>
Reviewed-by: Timo Furrer <tfurrer@gitlab.com>
Co-authored-by: Clément Saccoccio <git-clement@saccoccio.me>
fix: Getting the last pipeline is broken with merged results
Closes#7475
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1419
Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Timo Furrer <tfurrer@gitlab.com>
Approved-by: Ahmed Hemdan <ahemdan@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Reviewed-by: Ahmed Hemdan <ahemdan@gitlab.com>
Reviewed-by: Timo Furrer <tfurrer@gitlab.com>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
fix: updating golang version
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1429
Merged-by: Kai Armstrong <karmstrong@gitlab.com>
Approved-by: Kai Armstrong <karmstrong@gitlab.com>
Co-authored-by: Gary Holtz <gholtz@gitlab.com>
- Add fields in "ci get" test data
- Update labels field in mr, issuable, and issue list test data
- Remove query parameter from "mr rebase --skip-ci" mock path
Fixes#7504
Signed-off-by: Justen Stall <justenstall@gmail.com>
- Update github.com/xanzy/go-gitlab from v0.93.0 to v0.101.0
- Update rebase MR functions to use RebaseMergeRequestOptions for setting the "skip_ci" field
- Update all request options to use the LabelOptions type
- Replace deprecated gitlab.{String,Int,Bool,etc} functions with gitlab.Ptr
Fixes#7504
Signed-off-by: Justen Stall <justenstall@gmail.com>
chore: fix typo in trigger command docs
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1423
Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Reviewed-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Kai Armstrong <karmstrong@gitlab.com>
chore: fix typo support -> supported
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1417
Merged-by: Kai Armstrong <karmstrong@gitlab.com>
Approved-by: Kai Armstrong <karmstrong@gitlab.com>
Co-authored-by: Yakko Majuri <yakko.majuri@gmail.com>
fix: support transparent background on all tui views
Closes#676 and #1281
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1416
Merged-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Patrick Bajao <ebajao@gitlab.com>
Approved-by: Tomas Vik <tvik@gitlab.com>
Co-authored-by: Louis Dutton <louis.dutton@icloud.com>
fix: reorganise commands/variable/update like commands/variable/set
Closes#7455
See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1399
Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Davis Bickford <dbickford@gitlab.com>
Reviewed-by: Davis Bickford <dbickford@gitlab.com>
Co-authored-by: Nathanaël Houn <contact@nathanaelhoun.fr>