From 1f0dd4230cd8a6df1325036279d181fb4811a485 Mon Sep 17 00:00:00 2001 From: Imri Paran Date: Wed, 25 Sep 2024 16:17:55 +0200 Subject: [PATCH] MINOR: concurrency control on py-tests github workflow --- .github/workflows/py-tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/py-tests.yml b/.github/workflows/py-tests.yml index ae98d095360d..586489b012d8 100644 --- a/.github/workflows/py-tests.yml +++ b/.github/workflows/py-tests.yml @@ -31,6 +31,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: py-run-tests: runs-on: ubuntu-latest