diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09fef91..29d11fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,13 +2,16 @@ name: CI on: pull_request: + push: + branches: + - main permissions: contents: read concurrency: - group: ci-${{ github.ref }} - cancel-in-progress: true + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: node: