Skip to content
Snippets Groups Projects
Verified Commit cb03a063 authored by Subashis  Chakraborty's avatar Subashis Chakraborty :one: Committed by GitLab
Browse files

Merge branch '503403-changes-to-vr-in-mr-workflow' into 'master'

Scope MR link to project in VR resolution template

See merge request !174003



Merged-by: default avatarSubashis Chakraborty <schakraborty@gitlab.com>
Approved-by: default avatarSubashis Chakraborty <schakraborty@gitlab.com>
Co-authored-by: default avatarMichael Becker <mbecker@gitlab.com>
parents fa329e5e 09f8854f
No related branches found
No related tags found
1 merge request!174003Scope MR link to project in VR resolution template
Pipeline #1563055763 passed
<% if llm_patch.present? %>
<% if description_options&.dig(:vulnerable_mr) %>
Vulnerability finding detected in merge request: <%= merge_request_url(description_options[:vulnerable_mr]) + '+s' %>
<% mr_url = description_options.dig(:vulnerable_mr).then { |mr| Gitlab::Routing.url_helpers.project_merge_request_url(mr.target_project, mr) } %>
Vulnerability finding detected in merge request: <%= "#{mr_url}+s" %>
<% else %>
MR created from vulnerability: [<%= vulnerability.title %>](<%= vulnerability_url(vulnerability) %>)
<% end %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment