chore(ci): only enable next pr ci for hotfix

This commit is contained in:
Clark Du 2020-03-03 19:20:29 +00:00
parent 06b153b0e0
commit 1936de6930

View File

@ -15,7 +15,7 @@ on:
jobs: jobs:
setup: setup:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: github.event_name == 'push' || !(github.base_ref == '2.x' && github.head_ref == 'dev') if: github.event_name == 'push' || !((github.base_ref == '2.x' || github.base_ref == 'next') && github.head_ref == 'dev')
strategy: strategy:
matrix: matrix: