Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomhurst committed Jun 27, 2024
1 parent 1894778 commit c4438af
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using ModularPipelines.Build.Attributes;
using ModularPipelines.Build.Settings;
using ModularPipelines.Context;
using ModularPipelines.Enums;
using ModularPipelines.GitHub.Attributes;
using ModularPipelines.Models;
using ModularPipelines.Modules;
Expand All @@ -28,7 +29,7 @@ protected override async Task<SkipDecision> ShouldSkip(IPipelineContext context)
{
var mergeCoverageModuleResult = await GetModule<MergeCoverageModule>();

if (mergeCoverageModuleResult.Value == null)
if (mergeCoverageModuleResult.ModuleStatus != Status.Successful)
{
return "Merge coverage did not run";
}
Expand Down

0 comments on commit c4438af

Please sign in to comment.