From 92b73faca337d7e723554ce144bc14f7d5087a7e Mon Sep 17 00:00:00 2001 From: Robin Gierse Date: Tue, 24 Dec 2024 10:35:10 +0100 Subject: [PATCH] Add concurrency to molecule workflows. --- .github/workflows/molecule-role-agent.yaml | 4 ++++ .github/workflows/molecule-role-server.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/molecule-role-agent.yaml b/.github/workflows/molecule-role-agent.yaml index e43c7d178..9e2a9f3ca 100644 --- a/.github/workflows/molecule-role-agent.yaml +++ b/.github/workflows/molecule-role-agent.yaml @@ -4,6 +4,10 @@ env: NAMESPACE: checkmk COLLECTION_NAME: general +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + name: Molecule Tests for Agent Role on: workflow_dispatch: diff --git a/.github/workflows/molecule-role-server.yaml b/.github/workflows/molecule-role-server.yaml index c0813d0ee..da64ad7dd 100644 --- a/.github/workflows/molecule-role-server.yaml +++ b/.github/workflows/molecule-role-server.yaml @@ -4,6 +4,10 @@ env: NAMESPACE: checkmk COLLECTION_NAME: general +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + name: Molecule Tests for Server Role on: workflow_dispatch: