diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1467d37b7..2c8fa986b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,10 @@ on: - pull_request - push +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} + jobs: Lint: runs-on: ubuntu-latest