diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0f52b7f..6df89068 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,10 @@ on: pull_request: workflow_dispatch: +concurrency: + group: ${{ github.workflow }}=${{ github.head_ref }} + cancel-in-progress: true + jobs: ci: name: CI (Lint, Check, Build) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index af4d8581..2eabf563 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}=${{ github.head_ref }} + cancel-in-progress: true + jobs: check: runs-on: ubuntu-latest