Partially disable rule mode

What does this MR do and why?

Partially disable rule mode

  • for merge request approval policies
  • move invalid checks into from_yaml method
  • check for invalid actions
  • remove checking of fallback settings
  • add alert for fallback setting
  • remove hasParsingError property
  • update tests for new methods

Changelog: changed

EE: true

Changelog: changed

EE: true

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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.

Section Disabled
Actions Screenshot_2025-02-04_at_22.15.46
Fallback Screenshot_2025-02-04_at_22.15.55
Rules Screenshot_2025-02-04_at_22.14.02
Settings Screenshot_2025-02-05_at_11.25.17

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #501139 (closed)

Edited by Alexander Turinske

Merge request reports

Loading