diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d15263e88..ba566c336f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,14 +5,20 @@ on: branches: - master pull_request: + types: [opened, synchronize, reopened, ready_for_review] env: TZ: Asia/Singapore NODE_OPTIONS: --max_old_space_size=8192 GENERATE_SOURCEMAP: false +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest strategy: matrix: