Update Duo Workflow Action to only display when the Flow is enabled

What does this MR do and why?

Update Duo Workflow Action to only display when the Flow is enabled

References

Related to #581689 (closed)

Screenshots or screen recordings

See next section

How to set up and validate locally

  1. Feature.enable(:dap_use_foundational_flows_setting)

  2. In group duo settings turn on and off developer/v1 at http://gdk.test:3000/groups/gitlab-duo/-/settings/gitlab_duo/configuration image

  3. See the flow here http://gdk.test:3000/gitlab-duo/test/-/automate/flows

  4. Go to an issue http://gdk.test:3000/gitlab-duo/test/-/issues/7

See that the "Generate MR with Duo" appears or disappears image

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.

Edited by Alper Akgun

Merge request reports

Loading