From c58c57228885cc539bd85d347a300cc041c135d3 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 9 Feb 2023 13:56:03 -0300 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 06172185a..d28da1afa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,11 @@ on: env: PYTEST_ADDOPTS: "--color=yes" +# Cancel running jobs for the same workflow and branch. +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # Set permissions at the job level. permissions: {}