Fixes approval rules not loading correctly for forks
What does this MR do and why?
Fixes a bug where the appoval rules API request would send the incorrect branch name for merge requests from forks.
It would previously send it formatted like PROJECT_NAMESPACE:TARGET_BRANCH
in the API request which would not load the correct data. This changes that to only send TARGET_BRANCH
Screenshots or screen recordings
How to set up and validate locally
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.
Closes #339918 (closed)