diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44214bc..ab6ec5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,13 @@ name: CI on: push: branches: - - '**' + - main + pull_request: + types: [opened, synchronize] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: build: