From 3e796d4df60ee7c07095b40dab92355ddce9958d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20H=C3=B8jlund=20Larsen?= Date: Tue, 22 Aug 2023 11:46:12 +0200 Subject: [PATCH] Update Black to be concurrent --- .github/workflows/black.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 2af43842..a9766d43 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -14,3 +14,8 @@ jobs: + +# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }} + cancel-in-progress: true