From 1037e0952579d0a4217d53c4ded194a641ca53b3 Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Wed, 15 Jan 2025 13:57:47 -0500 Subject: [PATCH] ci: fix bug in Taskgraph release graphs --- taskcluster/self_taskgraph/custom_target_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskcluster/self_taskgraph/custom_target_tasks.py b/taskcluster/self_taskgraph/custom_target_tasks.py index e5fea7bf6..5b5423e51 100644 --- a/taskcluster/self_taskgraph/custom_target_tasks.py +++ b/taskcluster/self_taskgraph/custom_target_tasks.py @@ -9,7 +9,7 @@ def target_tasks_release(full_task_graph, parameters, graph_config): # Ensure we don't run `taskcluster-taskgraph` release tasks when publishing # `pytest-taskgraph`. - head_ref = parameters.rsplit("/", 1)[-1] + head_ref = parameters["head_ref"].rsplit("/", 1)[-1] if head_ref.startswith("pytest-taskgraph"): tasks = { l: t