From acacae2cc39e940181e7dbfa87f25e9a88d346e1 Mon Sep 17 00:00:00 2001 From: Davide Vacca Date: Wed, 9 Oct 2024 15:05:50 +0200 Subject: [PATCH] Add workflow run tasks status + fix description --- schemas/webhooks/webhook_event.yaml | 4 ++++ schemas/workflow_runs/definitions.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/schemas/webhooks/webhook_event.yaml b/schemas/webhooks/webhook_event.yaml index a40dc2ec..58da73da 100644 --- a/schemas/webhooks/webhook_event.yaml +++ b/schemas/webhooks/webhook_event.yaml @@ -123,6 +123,10 @@ webhook_event_object_status: - review - abandoned - error + # workflow_runs' tasks + - started + - cancelled + - completed # ../reports/definitions.yaml#/report_status - awaiting_data - awaiting_approval diff --git a/schemas/workflow_runs/definitions.yaml b/schemas/workflow_runs/definitions.yaml index c2cf3399..78525d94 100644 --- a/schemas/workflow_runs/definitions.yaml +++ b/schemas/workflow_runs/definitions.yaml @@ -78,7 +78,7 @@ workflow_run_response: type: object allOf: - $ref: "#/workflow_run_error" - description: Error object. Only set when the Workflow Run status is 'error'. + description: Error object. Only set when the Workflow Run status is error. sdk_token: type: string nullable: true