From 135049ebc530c307cae622cf58d7ceec74ffc3b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Mart=C3=ADnez=20Men=C3=A9ndez?= Date: Wed, 9 Feb 2022 14:44:02 +0100 Subject: [PATCH] ci: add `concurrency` option to `build` `workflow` (#326) * ci: add `concurrency` option to `build` `workflow` EX-5357 * ci: cancel previous `workflows` --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 554c0b2aaf..cd0765b186 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,8 @@ name: Check branch is releasable and release alpha on main branch update on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true jobs: build: runs-on: ubuntu-latest