Update yaml preview for CI/CD code action
What does this MR do and why?
This MR updated yaml preview
After providing custom yaml via editor or loaded file yaml preview is updated
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.
Description | UI |
---|---|
Updating yaml preview | yaml mode.mov |
Existing policy | existing.mov |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Enable feature flag
Feature.enable(:compliance_pipeline_in_policies)
-
Go to Project/Group ->
Secure
->Policies
-> New Policy -> New scan execution policy -
Add new
CI/CD code
action -
Either type in
yaml
or uploadyaml
file -
Switch between
yaml/rule
mode, make sure state is preserved
Related to #428507 (closed)
Edited by Artur Fedorov