An error occurred while fetching this tab.
This MR adds validation for the new branch_type
that we're adding in &9468 (closed).
The validation is only applied when the feature flag security_policies_branch_type
is enabled.
Numbered steps to set up and validate the change are strongly suggested.
Feature.enable(:security_policies_branch_type)
main
branchtype: scan_execution_policy
name: Pipeline / Protected Branches / Secret Detection
description: ''
enabled: true
rules:
- type: pipeline
branch_type: protected
actions:
- scan: secret_detection
Configure with a merge request
should give an error Branch types don't match any existing branches.
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #404777 (closed)