Example #1
0
 /// <summary>
 /// DiscardAsync
 /// </summary>
 /// <param name="runId"></param>
 /// <param name="request"></param>
 /// <returns></returns>
 public async Task DiscardAsync(string runId, CommentRequest request)
 {
     await PostAsync <CommentRequest>($"runs/{runId}/actions/discard", request).ConfigureAwait(false);
 }
Example #2
0
 /// <summary>
 /// ForceCancelAsync
 /// </summary>
 /// <param name="runId"></param>
 /// <param name="request"></param>
 /// <returns></returns>
 public async Task ForceCancelAsync(string runId, CommentRequest request)
 {
     await PostAsync <CommentRequest>($"runs/{runId}/actions/force-cancel", request).ConfigureAwait(false);
 }
Example #3
0
 /// <summary>
 /// ApplyAsync
 /// </summary>
 /// <param name="runId"></param>
 /// <param name="request"></param>
 /// <returns></returns>
 public async Task ApplyAsync(string runId, CommentRequest request)
 {
     await PostAsync <CommentRequest>($"runs/{runId}/actions/apply", request).ConfigureAwait(false);
 }