Skip to content

Commit 61e742f

Browse files
committed
Added branch name to PR job
1 parent 98353ee commit 61e742f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/webhooks.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ function pullRequestJob(pr) {
117117
trigger: trigger,
118118
deploy: false,
119119
ref: {
120-
fetch: 'refs/pull/' + pr.number + '/merge'
120+
fetch: 'refs/pull/' + pr.number + '/merge',
121+
branch: pr.base.ref
121122
},
122123
plugin_data: {
123124
github: {

0 commit comments

Comments
 (0)