Skip to content

Commit

Permalink
Consider skipped checks as meeting Maestro policy (#3636)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmitche authored Sep 17, 2024
1 parent b6dfd2b commit f8cd36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.DotNet.Darc/DarcLib/GitHubClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ private async Task<IList<Check>> GetChecksFromChecksApiAsync(string owner, strin
CheckStatus.Queued or CheckStatus.InProgress => CheckState.Pending,
CheckStatus.Completed => (run.Conclusion?.Value) switch
{
CheckConclusion.Success => CheckState.Success,
CheckConclusion.Success or CheckConclusion.Skipped => CheckState.Success,
CheckConclusion.ActionRequired or CheckConclusion.Cancelled or CheckConclusion.Failure or CheckConclusion.Neutral or CheckConclusion.TimedOut => CheckState.Failure,
_ => CheckState.None,
},
Expand Down

0 comments on commit f8cd36c

Please sign in to comment.