From b2a2a9d6c7e78a36cb5097ff6996fa2383db8eea Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 18 Jan 2023 17:30:49 -0600 Subject: [PATCH] only run the latest commit to avoid cache overwrites (#5154) --- .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