From a8a7199da6037a5a8704b2527fa2505a69ed9a34 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Sun, 17 Dec 2017 14:38:38 -0800 Subject: [PATCH] Actually run Taskcluster jobs on PRs Spawn TC jobs on the following events: - Pull request opened or reopened - New commit made in pull request Spawn TC jobs for pull requests started by anybody, not just trusted collaborators. This is safe for now as we do not provide any scopes to spawned jobs. --- .taskcluster.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index cc79679d05f5..be12876a8363 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -11,7 +11,10 @@ tasks: workerType: '{{ taskcluster.docker.workerType }}' extra: github: - events: [] + events: + - pull_request.opened + - pull_request.reopened + - pull_request.synchronize payload: maxRunTime: 3600 image: servobrowser/servo-linux-dev @@ -31,4 +34,4 @@ tasks: description: Run Linux tests. owner: '{{ event.head.user.email }}' source: '{{ event.head.repo.url }}' - +allowPullRequests: public