From e7d67efd13f83ba9a6f6e62cb6d12ce37716a404 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:26:01 +0100 Subject: ci: Use concurrency for pull requests only Otherwise, any previously pending workflow will be canceled on the following push. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87668cd662..94ba1aa21b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ on: - '**' concurrency: - group: ${{ github.ref }} - cancel-in-progress: ${{ github.event_name == 'pull_request' }} + group: ${{ github.event_name != 'pull_request' && github.run_id || github.ref }} + cancel-in-progress: true env: DANGER_RUN_CI_ON_HOST: 1 -- cgit v1.2.3