Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Commit ef0815c

Browse files
escapewindowmergify[bot]
authored andcommitted
base_ref bustage: extend the [11:] hack to action/cron
(cherry picked from commit 6bd8e99)
1 parent 4b28913 commit ef0815c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.taskcluster.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ tasks:
8282
else: ${event.ref}
8383
else:
8484
$if: 'tasks_for in ["cron", "action"]'
85-
then: '${push.branch}'
85+
then:
86+
$if: '${push.branch}[:11] == "refs/heads/"'
87+
then: {$eval: 'push.branch[11:]'}
88+
else: '${push.branch}'
8689
base_sha:
8790
$if: 'tasks_for == "github-push"'
8891
then: '${event.before}'

0 commit comments

Comments
 (0)