Maxime Brunet
24e8cf7a79
fix(bitbucketcloud)!: Use AccountID as username instead of Nickname ( #2034 )
...
* fix(bitbucketcloud)!: Use AccountID as username instead of Nickname
* Update PullRequest.Author as well
* Remove unused Nickname field
2022-03-07 11:57:10 -05:00
Luke Kysow
8bcb3726d4
Switch to Bitbucket 2.0 API for mergeable check
2019-06-12 12:21:47 +01:00
Luke Kysow
8f81568e24
Fix require-approval for Bitbucket Cloud.
...
Bitbucket Cloud changed their APIs to deprecate the username fields.
This broke how we were checking for approvals. Rather than propagate the
UUID field through the PullRequest model, I use the pull request API
response directly while checking approvers.
2019-06-03 14:57:52 +01:00
Luke Kysow
09b92cd207
Use new 'nickname' field for bitbucket cloud
...
Bitbucket is deprecating the username field.
See: https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr
2019-02-28 10:06:31 -05:00
Luke Kysow
d2abdb569a
Provide base branch name in pull request model
...
This is needed in order to support the ability to check out the repo as
it would appear after the pull request is merged into the base branch.
2019-01-15 13:45:35 -05:00
Brenden Matthews
e001353ae9
Add mergeable requirement.
...
Introduce new `mergeable` requirement, in similar vein to the `approved`
requirement. Ran `make go-generate` to update mocks accordingly.
This addresses issue #43 .
2018-12-11 16:00:04 -05:00
Luke Kysow
ff85cbef70
Require approval from someone other than PR author
...
In Bitbucket cloud, the pull request author can approve their own pull
request. Ignore this approval.
Fixes #201
2018-07-28 06:57:49 -07:00
Luke Kysow
a4c48f5d47
Add provisional Bitbucket Server support
2018-07-24 20:23:51 +02:00
Luke Kysow
718619c045
Rename Bitbucket to BitbucketCloud
2018-07-24 20:23:51 +02:00