From 37700909bd0698ab93748dd9185b701755c402d7 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Sat, 15 Feb 2025 14:39:33 +0000 Subject: [PATCH] ci: stop outdated builds automatically Using the concurrency definition. Signed-off-by: Paul Spooren --- .github/workflows/podman.yml | 4 ++++ .github/workflows/test.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/podman.yml b/.github/workflows/podman.yml index 84507cdc..46fc866c 100644 --- a/.github/workflows/podman.yml +++ b/.github/workflows/podman.yml @@ -1,5 +1,9 @@ name: Test podman-compose.yml +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdc37c5f..cd58e358 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,9 @@ name: Test Pull Request +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: