From 26fbe78f20068d1276656501ad87ac3007c89f36 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sun, 4 Feb 2024 18:03:58 +0100 Subject: [PATCH] ci: simplify concurrency --- .github/workflows/CICD.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index b4926d51..d8cc7f96 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -9,17 +9,11 @@ on: - synchronize - ready_for_review push: - branches-ignore: - - release/v* + branches: + - 'master' concurrency: - group: > - ${{ github.workflow }} @ ${{ - github.ref == 'refs/heads/master' && github.ref_name || '' - }}${{ - github.ref == 'refs/heads/master' && github.sha - || github.event.pull_request.head.label || github.head_ref || github.ref - }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: