2using System.Threading.Tasks;
22 Task
CommentOnIssue(
string repoOwner,
string repoName,
string comment,
int issueNumber, CancellationToken cancellationToken);
32 ValueTask<long>
CreateDeployment(NewDeployment newDeployment,
string repoOwner,
string repoName, CancellationToken cancellationToken);
43 Task
CreateDeploymentStatus(NewDeploymentStatus newDeploymentStatus,
string repoOwner,
string repoName,
long deploymentId, CancellationToken cancellationToken);
53 Task
CreateDeploymentStatus(NewDeploymentStatus newDeploymentStatus,
long repoId,
long deploymentId, CancellationToken cancellationToken);
IGitHubService that exposes functions that require authentication.
ValueTask< long > CreateDeployment(NewDeployment newDeployment, string repoOwner, string repoName, CancellationToken cancellationToken)
Create a newDeployment on a target repostiory.
Task CreateDeploymentStatus(NewDeploymentStatus newDeploymentStatus, long repoId, long deploymentId, CancellationToken cancellationToken)
Create a newDeploymentStatus on a target deployment.
Task CommentOnIssue(string repoOwner, string repoName, string comment, int issueNumber, CancellationToken cancellationToken)
Create a comment on a given issueNumber .
Task CreateDeploymentStatus(NewDeploymentStatus newDeploymentStatus, string repoOwner, string repoName, long deploymentId, CancellationToken cancellationToken)
Create a newDeploymentStatus on a target deployment.
Service for interacting with the GitHub API.