Fix bug in UpdateApprovalsService when target pipeline is empty
What does this MR do and why?
This MR fixes a bug in Create new worker for syncing approval rules fr... (#387277 - closed) when a worker is run for MR that has empty empty target pipeline. The feature is still behind the feature flag sync_approval_rules_from_findings
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Sashi Kumar Kumaresan