Skip to content

Commit

Permalink
New TC: only run tasks for pushes to the try-communitytc branch
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Nov 4, 2019
1 parent d8b6307 commit 55fe681
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .taskcluster.yml
Expand Up @@ -47,7 +47,18 @@ tasks:
$if: "event.ref[:11] == 'refs/heads/'"
then: "${event.ref[11:]}"
in:
$if: "branch in ['auto', 'try', 'master'] || branch[:4] == 'try-'"
$if: >-
(
taskcluster_root_url == 'https://community-tc.services.mozilla.com' &&
branch == 'try-communitytc'
) || (
taskcluster_root_url == 'https://taskcluster.net' &&
branch != 'try-communitytc' &&
(
branch in ['auto', 'try', 'master'] ||
branch[:4] == 'try-'
)
)
then:
$mergeDeep:
- {$eval: "task_common"}
Expand Down

0 comments on commit 55fe681

Please sign in to comment.