Show pipeline sources dropdown for all branch types

What does this MR do and why?

Show pipeline sources dropdown for all branch types

  • dropdown shows for all branch_types and branches
  • update wording to be more readable (target => targets, update sentence to be more readable)
  • update tests

References

Screenshots or screen recordings

Before After
Pipeline sources only showed up for branch type targets all protected/default branches Now pipeline sources shows up for all options image

How to set up and validate locally

  1. Upload a GitLab Ultimate license
  2. Enable the flexible_scan_execution_policy feature flag in http://gdk.test:3443/rails/features
  3. Navigate to a project/group => Secure => Policies => New policy => Scan execution policy
  4. Verify the wording is updated

MR acceptance checklist

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

Related to #549571 (closed)

Edited by Alexander Turinske

Merge request reports

Loading