Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit a5fbe9e

Browse files
committed
Add Skipped and Stale CheckConclusionState
1 parent e149e69 commit a5fbe9e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/GitHub.App/Services/FromGraphQlExtensions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ public static class FromGraphQlExtensions
2929
return CheckConclusionState.Success;
3030
case Octokit.GraphQL.Model.CheckConclusionState.Neutral:
3131
return CheckConclusionState.Neutral;
32+
case Octokit.GraphQL.Model.CheckConclusionState.Skipped:
33+
return CheckConclusionState.Skipped;
34+
case Octokit.GraphQL.Model.CheckConclusionState.Stale:
35+
return CheckConclusionState.Stale;
3236
default:
3337
throw new ArgumentOutOfRangeException(nameof(value), value, null);
3438
}

src/GitHub.Exports/Models/CheckConclusionState.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ public enum CheckConclusionState
88
Failure,
99
Success,
1010
Neutral,
11+
Skipped,
12+
Stale
1113
}
1214
}

0 commit comments

Comments
 (0)