Fix protected branch detection in notification branch selection
What does this MR do?
Fix protected branch detection used by notification services to fire notifications on events, so that it supports scenarios where protected branches are defined using wildcards.
Conformity
-
Changelog entry -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Closes #33582 (closed)
Edited by Balasankar 'Balu' C