Skip to content

Commit

Permalink
fix dispatch workflow run in progress (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
allantargino authored Oct 1, 2024
1 parent d0f9448 commit a6d24de
Show file tree
Hide file tree
Showing 2 changed files with 372 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Octokit.Webhooks/WebhookEventProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Octokit.Webhooks;
namespace Octokit.Webhooks;

using System.Threading.Tasks;
using Microsoft.Extensions.Primitives;
Expand Down Expand Up @@ -1292,6 +1292,8 @@ private Task ProcessWorkflowRunWebhookAsync(WebhookHeaders headers, WorkflowRunE
{
WorkflowRunActionValue.Completed
=> this.ProcessWorkflowRunWebhookAsync(headers, workflowRunEvent, WorkflowRunAction.Completed),
WorkflowRunActionValue.InProgress
=> this.ProcessWorkflowRunWebhookAsync(headers, workflowRunEvent, WorkflowRunAction.InProgress),
WorkflowRunActionValue.Requested
=> this.ProcessWorkflowRunWebhookAsync(headers, workflowRunEvent, WorkflowRunAction.Requested),
_ => Task.CompletedTask,
Expand Down
Loading

0 comments on commit a6d24de

Please sign in to comment.