Skip to content

Commit 0b818d4

Browse files
authored
actions: pass push.base_revision to in-tree-action hook (bug 1951383) (#656)
1 parent 63ec732 commit 0b818d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/taskgraph/actions/registry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ def action_builder(parameters, graph_config, decision_task_id):
171171
"base_url": parameters["base_repository"],
172172
}
173173

174-
revision = parameters["head_rev"]
175174
push = {
176175
"owner": "[email protected]",
177176
"pushlog_id": parameters["pushlog_id"],
178-
"revision": revision,
177+
"revision": parameters["head_rev"],
178+
"base_revision": parameters["base_rev"],
179179
}
180180
branch = parameters.get("head_ref")
181181
if branch:

0 commit comments

Comments
 (0)