[skip ci] fix skip for pr (#12196)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
Jenny Li 2021-11-23 10:29:14 +08:00 committed by GitHub
parent c66dcdf08b
commit 2e8a3535ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ jobs:
ubuntu:
name: Build and test AMD64 Ubuntu ${{ matrix.ubuntu }}
# Add /rerun-unit
if: "(github.event_name == 'push' || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/rerun-unit')))"
if: "(github.event_name == 'push' || github.event_name == 'pull_request' || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/rerun-unit')))"
runs-on: ubuntu-latest
timeout-minutes: 90
strategy: