Skip to content

Commit ee0c4c5

Browse files
committed
Bug 2009019 - Add 'branch' and 'base_branch' as context to action task rendering
1 parent d0c087e commit ee0c4c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

taskcluster/gecko_taskgraph/actions/registry.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,12 @@ def action_builder(parameters, graph_config, decision_task_id):
190190
"base_revision": base_revision,
191191
}
192192

193+
if branch := parameters.get("head_ref"):
194+
push["branch"] = branch
195+
196+
if (base_branch := parameters.get("base_ref")) and branch != base_branch:
197+
push["base_branch"] = base_branch
198+
193199
action = {
194200
"name": name,
195201
"title": title,

0 commit comments

Comments
 (0)