From 0080b5650e0bf125612e62b591f348076e9ad5d7 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:49:14 +0100 Subject: ci: Ensure that only a single workflow processes `github.ref` at a time --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44ee0b5c59..73a45f4db8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,10 @@ on: tags-ignore: - '**' +concurrency: + group: ${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + env: DANGER_RUN_CI_ON_HOST: 1 TEST_RUNNER_TIMEOUT_FACTOR: 40 -- cgit v1.2.3