Skip to content

Commit

Permalink
Actually run Taskcluster jobs on PRs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aneeshusa committed Dec 17, 2017
1 parent 3a37d80 commit a8a7199
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .taskcluster.yml
Expand Up @@ -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
Expand All @@ -31,4 +34,4 @@ tasks:
description: Run Linux tests.
owner: '{{ event.head.user.email }}'
source: '{{ event.head.repo.url }}'

allowPullRequests: public

0 comments on commit a8a7199

Please sign in to comment.