enable CI after PR sync (#97)

pull/112/head
Frank Lee 2022-01-04 20:31:14 +08:00 committed by GitHub
parent a951bc6089
commit d09a79bad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
name: Build
on:
pull_request:
types: [review_requested]
types: [review_requested, synchronize]
branches:
- "*"
@ -13,7 +13,7 @@ jobs:
image: nvcr.io/nvidia/pytorch:21.07-py3
options: --gpus all --rm --ipc=host -v /data/cifar-10:/data/cifar-10
timeout-minutes: 1200
if: github.event.pull_request.draft == false && github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
if: github.event.pull_request.draft == false && github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI' && toJson(github.event.pull_request.requested_reviewers) != '[]'
steps:
- name: Setup Environment
run: |