drone / go-convert

Package convert provides tools for converting pipeline configuration files to the Drone format.
Apache License 2.0
9 stars 8 forks source link

fix: use targetBranch not branch for conditions #175

Closed jimsheldon closed 8 months ago

jimsheldon commented 8 months ago

<+trigger.branch> will always contain the current branch

<+trigger.targetBranch> will contain the current branch on a push event, but on a pull request event it will contain the target branch for the pull request