Skip to content

Commit

Permalink
Add concurrency to molecule workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-checkmk committed Dec 24, 2024
1 parent d32511c commit 92b73fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/molecule-role-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/molecule-role-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 92b73fa

Please sign in to comment.