We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d68a5b8 commit abfacf3Copy full SHA for abfacf3
index.js
@@ -830,7 +830,8 @@ class BitbucketScm extends Scm {
830
name: `PR-${pr.id}`,
831
ref: pr.source.branch.name,
832
sha: pr.source.commit.hash,
833
- url: pr.links.html.href
+ url: pr.links.html.href,
834
+ baseBranch: pr.source.branch.name
835
};
836
});
837
}
test/index.test.js
@@ -1909,7 +1909,8 @@ describe('index', function () {
1909
name: 'PR-1',
1910
ref: 'testbranch',
1911
sha: 'hashValue',
1912
- url: 'https://api.bitbucket.org/2.0/repositories/repoId/pullrequests/1'
+ url: 'https://api.bitbucket.org/2.0/repositories/repoId/pullrequests/1',
1913
+ baseBranch: 'testbranch'
1914
1915
1916
0 commit comments