Auto merge of #22426 - servo:choosers, r=SimonSapin

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.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22426)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-12-11 23:44:57 -05:00 committed by GitHub
commit aab239c27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: