From 1e03aae9ee59576771a706308d4607a12f901c48 Mon Sep 17 00:00:00 2001 From: Sarah Yasonik Date: Thu, 8 May 2025 21:33:44 -0400 Subject: [PATCH 1/2] Track internal events for Gitlab CLI actions --- config/events/gitlab_cli_command_used.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 config/events/gitlab_cli_command_used.yml diff --git a/config/events/gitlab_cli_command_used.yml b/config/events/gitlab_cli_command_used.yml new file mode 100644 index 00000000000000..8466c6c995696a --- /dev/null +++ b/config/events/gitlab_cli_command_used.yml @@ -0,0 +1,25 @@ +--- +description: Command is executed from the GitLab CLI +internal_events: true +action: gitlab_cli_command_used +identifiers: + - project + - namespace + - user +additional_properties: + label: + description: Command used - e.g. 'mr' + property: + description: Subcommand used - e.g. 'view' + command_and_subcommand: + description: Command and subcommand used - e.g. 'mr view' +product_group: code_review +product_categories: + - gitlab_cli +milestone: '18.0' +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/185183 +tiers: + - free + - premium + - ultimate + \ No newline at end of file -- GitLab From bf600018571378df04510d02a46b045e2da11597 Mon Sep 17 00:00:00 2001 From: Sarah Yasonik Date: Thu, 8 May 2025 21:45:19 -0400 Subject: [PATCH 2/2] Fix trailing whitespace --- config/events/gitlab_cli_command_used.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/events/gitlab_cli_command_used.yml b/config/events/gitlab_cli_command_used.yml index 8466c6c995696a..b1187c6493da84 100644 --- a/config/events/gitlab_cli_command_used.yml +++ b/config/events/gitlab_cli_command_used.yml @@ -22,4 +22,3 @@ tiers: - free - premium - ultimate - \ No newline at end of file -- GitLab