Skip to content

Add send bot message action in policy details

Alexander Turinske requested to merge 462701-add-bot-message-policy-drawer into master

What does this MR do and why?

Add send bot message action in policy details

  • show when the action does not exist and when enabled is true
  • add tests

Changelog: added

EE: true

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Scenario Screenshot
w/ settings Screenshot_2024-05-24_at_08.41.58
w/out settings Screenshot_2024-05-24_at_08.41.45

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Navigate to a project => Secure => Policies => New policy => Merge request approval policy => Create a policy
  3. Navigate to a project => Secure => Policies => Select the policy
  4. Verify the policy drawer includes the text
  5. Navigate to a project => Secure => Policies => New policy => Merge request approval policy => Create a policy without bot action
  6. Navigate to a project => Secure => Policies => Select the policy
  7. Verify the policy drawer does not include the text

Related to #462701 (closed)

Edited by Alexander Turinske

Merge request reports

Loading