DRONE_PULL_REQUEST

Provides the pull request number for the current running build. If the build is not a pull request the variable is empty.

DRONE_PULL_REQUEST=42