Continuing the discussion from Retrieving pull request title:
GitHub provides the title of a pull request in the web hook, but it is not currently available.
The same goes for the upstream branch name.
It would be very helpful to expose these values as environmental variables, for use in build configs and notifications.
Please be sure to this feature request, as that is how the CircleCi product team prioritizes requests.