Taskcluster: start a decision task for all try-* branches

This is an alternative fix for https://github.com/servo/saltfs/issues/903,
and anticipates adding trychooser support to Taskcluster
This commit is contained in:
Simon Sapin 2018-12-11 23:37:28 +01:00
parent 0375cbcbc0
commit fdb2a66261

View file

@ -5,7 +5,9 @@ policy:
tasks:
- $if: 'tasks_for == "github-push"'
then:
$if: 'event.ref in ["refs/heads/auto", "refs/heads/try", "refs/heads/try-taskcluster"]'
$if: >-
event.ref in ["refs/heads/auto", "refs/heads/try"] ||
event.ref[:15] == "refs/heads/try-"
then:
# NOTE: when updating this consider whether the daily hook needs similar changes: