Skip to content

Commit 2d0d41e

Browse files
authored
Fix multiple truthy expressions in github .taskcluster.yml cookiecutter (#499)
1 parent 71fe1d0 commit 2d0d41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/{{cookiecutter.project_name}}/taskcluster.github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ tasks:
4545
$switch:
4646
'tasks_for[:19] == "github-pull-request"': ${event.pull_request.base.ref}
4747
'tasks_for == "github-push" && event.base_ref': ${event.base_ref}
48-
'tasks_for == "github-push"': ${event.ref}
48+
'tasks_for == "github-push" && !(event.base_ref)': ${event.ref}
4949
'tasks_for == "github-release"': ''
5050
'tasks_for in ["cron", "action"]': '${push.branch}'
5151
'tasks_for == "pr-action"': '${push.base_branch}'

0 commit comments

Comments
 (0)