Skip to content

Commit

Permalink
Pass through client
Browse files Browse the repository at this point in the history
  • Loading branch information
thomhurst committed Jul 14, 2024
1 parent 9346817 commit 05aa4be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected override Task<SkipDecision> ShouldSkip(IPipelineContext context)
{
cancellationToken.ThrowIfCancellationRequested();

var run = await _gitHubClient.Actions.Workflows.Runs.Get(BuildConstants.Owner, BuildConstants.RepositoryName, workflowRun.Id);
var run = await client.Actions.Workflows.Runs.Get(BuildConstants.Owner, BuildConstants.RepositoryName, workflowRun.Id);

if (run?.Conclusion.HasValue is true)
{
Expand Down

0 comments on commit 05aa4be

Please sign in to comment.