diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index a8912fa8..5d53d2f3 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -18,6 +18,11 @@ on: branches: - '**' +concurrency: + # Cancel any running actions when a branch is updated: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Debug