Add automated actor bypass for protected branch deletion

What does this MR do and why?

This MR adds automated actor (service accounts and access tokens) bypass support for protected branch deletion in security policies, and refactors the existing bypass checking system to improve separation of concerns. The actual logic is handled in Allow deletion of non-main protected branches w... (!222198)

References

Screenshots or screen recordings

Before After

How to set up and validate locally

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.

Related to #578753

Edited by Sashi Kumar Kumaresan

Merge request reports

Loading