From 63cea71a6223ff99d717f64e83a43cc52bbbd81d Mon Sep 17 00:00:00 2001 From: Javier Rodriguez Date: Wed, 5 Nov 2025 10:36:20 +0100 Subject: [PATCH] fix(runner-context): Update Runner Context schema Signed-off-by: Javier Rodriguez --- .../runner-context-response-0.1.schema.json | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/internal/schemavalidators/external_schemas/runnercontext/runner-context-response-0.1.schema.json b/internal/schemavalidators/external_schemas/runnercontext/runner-context-response-0.1.schema.json index c61c1441b..8fe40e616 100644 --- a/internal/schemavalidators/external_schemas/runnercontext/runner-context-response-0.1.schema.json +++ b/internal/schemavalidators/external_schemas/runnercontext/runner-context-response-0.1.schema.json @@ -10,10 +10,25 @@ }, "errors": { "items": { - "type": "string" + "properties": { + "code": { + "type": "string", + "description": "Error code for identification (e.g: PERMISSION_RULESETS PERMISSION_BRANCHES)" + }, + "message": { + "type": "string", + "description": "Human-readable error message" + } + }, + "additionalProperties": false, + "type": "object", + "required": [ + "code", + "message" + ] }, "type": "array", - "description": "Array of error messages" + "description": "Array of error details with codes" } }, "additionalProperties": false, @@ -331,11 +346,6 @@ }, "type": "array", "description": "Array of repository configurations" - }, - "org": { - "items": true, - "type": "array", - "description": "Organization-level configuration" } }, "additionalProperties": false,