This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Tfs.AutoMerge.
Summary
If an active Pull Request is opened from sourceBranch to targetBranch return this instance. Create a new instance in other case.
Syntax
public static int CreateAutoMergePullRequest(this ICakeContext ctx, AutoMergeSettings settings, Action<AutoMergeCredentials> credentialConfigurator = null)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
ctx |
ICakeContext |
Cake context |
settings |
AutoMergeSettings |
Settings to connect to TFS server |
credentialConfigurator |
Action<AutoMergeCredentials> |
Credentials to connect to TFS server |
Return Value
Type |
Description |
int |
The existing Pull Request if exists otherwise the newly created. |