Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 461 Bytes

drone-source-branch.md

File metadata and controls

18 lines (14 loc) · 461 Bytes
date title author
2000-01-01 00:00:00 +0000
DRONE_SOURCE_BRANCH
bradrydzewski

Provides the source branch for the pull request. This value may be empty for certain source control management providers.

DRONE_SOURCE_BRANCH=feature/develop

This environment variable can be used in conjunction with the target branch variable to get the pull request base and head branch.

DRONE_SOURCE_BRANCH=feature/develop
DRONE_TARGET_BRANCH=master