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.GitHub.
Summary
Sets the Milestone for an Issue or Pull Request.
Syntax
public static Task GitHubSetMilestoneAsync(this ICakeContext context, string userName, string apiToken, string owner, string repository, int number, string milestoneTitle, GitHubSetMilestoneSettings settings = null)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The Cake context. |
userName |
string |
The user name to use for authentication (pass null when using an access token). |
apiToken |
string |
The access token or password to use for authentication. |
owner |
string |
The owner (user or group) of the repository. |
repository |
string |
The name of the repository. |
number |
int |
The number of the Issue or Pull Request to set the Milestone for. |
milestoneTitle |
string |
The title of the milestone to assign the Issue or Pull Request to.
Note that GitHub treats Milestone titles case-sensitive.
|
settings |
GitHubSetMilestoneSettings |
Additional settings for updating the Milestone (optional). |
Return Value