From c1b0577a94e26f4c3559bd925e901a4e6f775c1a Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 18 Jan 2023 17:29:48 -0600 Subject: [PATCH] only run the latest commit to avoid cache overwrites --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c6171d5e..df33eb051 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,11 @@ on: - dev - master +# only run the latest commit to avoid cache overwrites +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + env: PYTHON_VERSION: 3.9