I’ve been trying to get an environment variable telling me what branch a pull request is created from, but the environment variables like $DRONE_BRANCH or $DRONE_COMMIT_BRANCH from the documentation only give as value the branch the pull request is going to be merged into.
I’m just wondering, is there any way to get that branch name at all now? And if not, could it be added?
I also know someone that uses the same environment variable but has repositories on Bitbucket (mines are on Github), and the behaviour seems to be correct on Bitbucket. Is there a difference between the two integrations?