From 2924ddba59e551ebfe72cb795b1091b3c8d7c3c6 Mon Sep 17 00:00:00 2001 From: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:14:17 +0200 Subject: [PATCH] Cancel queued cypress jobs when repushing Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> --- .github/workflows/cypress.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index e9796fc4f..75bfbcb05 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -8,6 +8,11 @@ on: - master - stable* + +concurrency: + group: cypress-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: # Adjust APP_NAME if your repository name is different APP_NAME: ${{ github.event.repository.name }}