commit d3c31b9e7480b7f4592a50d6df213ee28d8192a2
parent 43b0fd6d3b1d6f77b16edc4c22b4789d9e5a0be9
Author: Julien Cristau <jcristau@mozilla.com>
Date: Thu, 9 Oct 2025 07:51:17 +0000
Bug 1993306 - fix retrigger-multiple action's json schema. r=taskgraph-reviewers,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D267995
Diffstat:
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/taskcluster/gecko_taskgraph/actions/retrigger.py b/taskcluster/gecko_taskgraph/actions/retrigger.py
@@ -238,17 +238,20 @@ def _rerun_task(task_id, label):
"requests": {
"type": "array",
"items": {
- "tasks": {
- "type": "array",
- "description": "An array of task labels",
- "items": {"type": "string"},
- },
- "times": {
- "type": "integer",
- "minimum": 1,
- "maximum": 100,
- "title": "Times",
- "description": "How many times to run each task.",
+ "type": "object",
+ "properties": {
+ "tasks": {
+ "type": "array",
+ "description": "An array of task labels",
+ "items": {"type": "string"},
+ },
+ "times": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "title": "Times",
+ "description": "How many times to run each task.",
+ },
},
"additionalProperties": False,
},