From 3fbe2d771c9eb71f7157cac0cb21cdb09f9fb7a6 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Mon, 24 Jul 2023 09:47:16 -0500 Subject: [PATCH] Hopefully this cancels previous CI runs for a branch (#2642) --- .github/workflows/main_matrix.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index 573728ff0..454ffb71a 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -1,4 +1,7 @@ name: CI +concurrency: + group: ${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} on: # # Triggers the workflow on push but only for the master branch push: