Skip to content

Commit 3b88079

Browse files
authored
ci: add push.base_branch to tc.yml (#459)
PR actions need to know both the base repo and branch to check out.
1 parent 90d9cb5 commit 3b88079

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.taskcluster.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ tasks:
5353
'tasks_for == "github-push" && event.base_ref': ${event.base_ref}
5454
'tasks_for == "github-push" && !(event.base_ref)': ${event.ref}
5555
'tasks_for == "github-release"': ${event.release.tag_name}
56-
'tasks_for in ["cron", "action", "pr-action"]': '${push.branch}'
56+
'tasks_for in ["cron", "action"]': '${push.branch}'
57+
'tasks_for == "pr-action"': '${push.base_branch}'
5758
head_ref:
5859
$switch:
5960
'tasks_for[:19] == "github-pull-request"': ${event.pull_request.head.ref}

0 commit comments

Comments
 (0)