Skip to content

Add split button and create MR

What does this MR do and why?

  • Adds split-button to display both the download-patch and create-MR-button
  • Adds create-MR functionality

Screenshots or screen recordings

Screen_Recording_2023-04-04_at_3.43.19_pm

How to set up and validate locally

Setup

  1. Have the related FF enabled: echo "Feature.enable(:pipeline_security_dashboard_graphql)" | rails c
  2. You'll need an EE License
  3. You'll need to have runners enabled (See $2408961 for setting up a runner)
  4. Import https://gitlab.com/svedova/test-remediations-v2
  5. Run a pipeline on master

Validation

  1. Go to the pipeline's security report tab
  2. Click on a finding
  3. Verify that the split button renders
  4. Verify that a patch can be downloaded
  5. Verify that the merge request can be created

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #387657 (closed)

Edited by David Pisek

Merge request reports