Merge Source/Target Branch Names in GitLab CI Runner Script

I can’t seem to find a way to get the source and target branch names for a merge request in a CI runner script. I see possibly a hash for the source branch hash from the environment variables, but not the target branch. Is this not available?

I’m joining the question as well