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

Commit

Permalink
base_ref bustage: extend the [11:] hack to action/cron
Browse files Browse the repository at this point in the history
(cherry picked from commit 6bd8e99)
  • Loading branch information
escapewindow authored and mergify[bot] committed Oct 17, 2022
1 parent 4b28913 commit ef0815c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ tasks:
else: ${event.ref}
else:
$if: 'tasks_for in ["cron", "action"]'
then: '${push.branch}'
then:
$if: '${push.branch}[:11] == "refs/heads/"'
then: {$eval: 'push.branch[11:]'}
else: '${push.branch}'
base_sha:
$if: 'tasks_for == "github-push"'
then: '${event.before}'
Expand Down

0 comments on commit ef0815c

Please sign in to comment.