Add support of DRONE_PULL_REQUEST_TITLE env variable during drone build

Now there is only * DRONE_PULL_REQUEST variable and if we want to use PR title we need to somehow fetch it from git backend (github, gitlab, etc).

I think most of already send PR title on sending push event and it would be better to add support of it

1 Like

Here is a daring attempt to implement it by changing single line of code :slight_smile: Add PR_TITLE env for pr builds by alikhil · Pull Request #3234 · harness/drone (github.com)

1 Like

:tada: Woop Woop :tada: I responded on the issue and will update you if we don’t review this week. Thanks for your valuable contribution to Drone.