diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 12c51a2954a..5cbcc4d63a1 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -10,6 +10,10 @@ on: issue_comment: types: [created] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: preview: if: | diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 02006635441..3ffbe5d8658 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -4,6 +4,11 @@ on: pull_request: branches: - main + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: publish: strategy: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b52621c075..89a2eadc342 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,11 @@ on: pull_request: branches: - main + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: consistency: runs-on: ubuntu-latest