From a13b9fbf00cb27973dd119efc3394516b8610a8b Mon Sep 17 00:00:00 2001 From: "Eric T. Johnson" Date: Wed, 27 Mar 2024 17:44:13 -0400 Subject: [PATCH 1/2] Add concurrency groups to the slow CI actions This will cancel any running actions when new commits are pushed to a PR branch. --- .github/workflows/c-linter.yml | 4 ++++ .github/workflows/compiler-warnings.yml | 5 +++++ .github/workflows/detonation-sdc-compare.yml | 5 +++++ .github/workflows/flame_wave-compare.yml | 5 +++++ .github/workflows/gpu_action.yml | 5 +++++ .github/workflows/wdmerger_collision-compare.yml | 5 +++++ 6 files changed, 29 insertions(+) diff --git a/.github/workflows/c-linter.yml b/.github/workflows/c-linter.yml index d575a2f236..a779df810a 100644 --- a/.github/workflows/c-linter.yml +++ b/.github/workflows/c-linter.yml @@ -2,6 +2,10 @@ name: cpp-linter on: [pull_request] +concurrency: + group: ${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: cpp-linter: runs-on: ubuntu-latest diff --git a/.github/workflows/compiler-warnings.yml b/.github/workflows/compiler-warnings.yml index e8092be3d3..bdc0c627ac 100644 --- a/.github/workflows/compiler-warnings.yml +++ b/.github/workflows/compiler-warnings.yml @@ -1,6 +1,11 @@ name: "compiler warnings" on: [pull_request] + +concurrency: + group: ${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: compiler_warnings: runs-on: ubuntu-latest diff --git a/.github/workflows/detonation-sdc-compare.yml b/.github/workflows/detonation-sdc-compare.yml index b8fe7e8568..46038aa534 100644 --- a/.github/workflows/detonation-sdc-compare.yml +++ b/.github/workflows/detonation-sdc-compare.yml @@ -1,6 +1,11 @@ name: detonation-sdc on: [pull_request] + +concurrency: + group: ${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: detonation-sdc: runs-on: ubuntu-latest diff --git a/.github/workflows/flame_wave-compare.yml b/.github/workflows/flame_wave-compare.yml index 46ad5b4285..e7cf5cbc4b 100644 --- a/.github/workflows/flame_wave-compare.yml +++ b/.github/workflows/flame_wave-compare.yml @@ -1,6 +1,11 @@ name: flame_wave on: [pull_request] + +concurrency: + group: ${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: flame_wave-2d: runs-on: ubuntu-latest diff --git a/.github/workflows/gpu_action.yml b/.github/workflows/gpu_action.yml index 95d65496b0..3c6af431e1 100644 --- a/.github/workflows/gpu_action.yml +++ b/.github/workflows/gpu_action.yml @@ -1,6 +1,11 @@ name: GPU compilation on: [pull_request] + +concurrency: + group: ${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: gpu-compilation: runs-on: ubuntu-latest diff --git a/.github/workflows/wdmerger_collision-compare.yml b/.github/workflows/wdmerger_collision-compare.yml index 99551f09dd..8f12f71c89 100644 --- a/.github/workflows/wdmerger_collision-compare.yml +++ b/.github/workflows/wdmerger_collision-compare.yml @@ -1,6 +1,11 @@ name: wdmerger_collision on: [pull_request] + +concurrency: + group: ${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: wdmerger_collision-2d: runs-on: ubuntu-latest From 0b84fc60f01eeb5f5c800f61978205d21581473d Mon Sep 17 00:00:00 2001 From: "Eric T. Johnson" Date: Wed, 27 Mar 2024 18:09:07 -0400 Subject: [PATCH 2/2] Update clang-tidy.yml --- .github/workflows/clang-tidy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 1a4435a650..f712591a4b 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -1,6 +1,11 @@ name: "clang-tidy" on: [pull_request] + +concurrency: + group: ${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} + cancel-in-progress: true + jobs: clang_tidy: runs-on: ubuntu-latest