We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71fe1d0 commit 2d0d41eCopy full SHA for 2d0d41e
template/{{cookiecutter.project_name}}/taskcluster.github.yml
@@ -45,7 +45,7 @@ tasks:
45
$switch:
46
'tasks_for[:19] == "github-pull-request"': ${event.pull_request.base.ref}
47
'tasks_for == "github-push" && event.base_ref': ${event.base_ref}
48
- 'tasks_for == "github-push"': ${event.ref}
+ 'tasks_for == "github-push" && !(event.base_ref)': ${event.ref}
49
'tasks_for == "github-release"': ''
50
'tasks_for in ["cron", "action"]': '${push.branch}'
51
'tasks_for == "pr-action"': '${push.base_branch}'
0 commit comments