From 108bc7705781ad550effd5be450e8cd299b7958e Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Oct 2023 10:46:07 +0200 Subject: [PATCH 1/3] Add missing "waiting" enum to WorkflowJobStatus.cs --- .../Models/WorkflowJobEvent/WorkflowJobStatus.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs b/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs index 5b6dcc55..4178f1d3 100644 --- a/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs +++ b/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs @@ -9,4 +9,6 @@ public enum WorkflowJobStatus InProgress, [EnumMember(Value = "completed")] Completed, + [Parameter(Value = "waiting")] + Waiting, } From b4b2d909feb033412d2453888fd3a00829278b59 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Oct 2023 13:38:31 +0200 Subject: [PATCH 2/3] Fixed usage of wrong attribute --- .../Models/WorkflowJobEvent/WorkflowJobStatus.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs b/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs index 4178f1d3..36b2c71e 100644 --- a/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs +++ b/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs @@ -9,6 +9,6 @@ public enum WorkflowJobStatus InProgress, [EnumMember(Value = "completed")] Completed, - [Parameter(Value = "waiting")] + [EnumMember(Value = "waiting")] Waiting, } From b101aab6b08ec435b75a08ba96843e54ab95143a Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Thu, 12 Oct 2023 14:03:30 -0700 Subject: [PATCH 3/3] Update src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com> --- .../Models/WorkflowJobEvent/WorkflowJobStatus.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs b/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs index 36b2c71e..2e28d8be 100644 --- a/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs +++ b/src/Octokit.Webhooks/Models/WorkflowJobEvent/WorkflowJobStatus.cs @@ -10,5 +10,5 @@ public enum WorkflowJobStatus [EnumMember(Value = "completed")] Completed, [EnumMember(Value = "waiting")] - Waiting, + Waiting, }