Is there a way to get in a pipeline build, the name of the target branch?
I see there is a way to get the name of the branch that is building. But I did not see a way to get the name of the target branch.
My use case - we have a large project that we want to add a linter phase to it. But I want the linter to report linting erros only on changed files. I can do a git diff names only between to branches for this and send the result to the linter. But I need the name of the target branch for this.