diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 2a25072a..b42393ab 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -2,6 +2,10 @@ name: Analyze on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: decomplint-isle: name: ${{ matrix.who }} annotations diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 74424665..0c351c79 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -2,6 +2,10 @@ name: Format on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: clang-format: name: C++