From d09a79bad5a6c507315e33a58a290aec50d1c740 Mon Sep 17 00:00:00 2001 From: Frank Lee Date: Tue, 4 Jan 2022 20:31:14 +0800 Subject: [PATCH] enable CI after PR sync (#97) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a521551c4..b0270c10c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |