diff --git a/.github/workflows/br_compatible_test.yml b/.github/workflows/br_compatible_test.yml index e72581856abbd..b6ef8aa7bd1cb 100644 --- a/.github/workflows/br_compatible_test.yml +++ b/.github/workflows/br_compatible_test.yml @@ -28,6 +28,11 @@ on: - '!br/tests/**' - '!br/docker/**' +# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: check: runs-on: ubuntu-latest diff --git a/.github/workflows/compile_br.yaml b/.github/workflows/compile_br.yaml index fed0d2a7af279..da5ef43198ffc 100644 --- a/.github/workflows/compile_br.yaml +++ b/.github/workflows/compile_br.yaml @@ -29,6 +29,11 @@ on: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: compile: name: Compile for ${{ matrix.os }} / ${{ matrix.target}}