From 0f5e910eabcd753e588229279740b72b2b57a9a9 Mon Sep 17 00:00:00 2001 From: R-Palazzo <116157184+R-Palazzo@users.noreply.github.com> Date: Fri, 10 Jan 2025 17:52:00 +0100 Subject: [PATCH] Cancel previous workflow runs on a new push (#925) --- .github/workflows/integration.yml | 4 ++++ .github/workflows/minimum.yml | 4 ++++ .github/workflows/unit.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 2f200473..7804a310 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -5,6 +5,10 @@ on: pull_request: types: [opened, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: integration: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/minimum.yml b/.github/workflows/minimum.yml index e125c803..336e003c 100644 --- a/.github/workflows/minimum.yml +++ b/.github/workflows/minimum.yml @@ -5,6 +5,10 @@ on: pull_request: types: [opened, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: minimum: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index dc7f5dee..a78fa02f 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -5,6 +5,10 @@ on: pull_request: types: [opened, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: unit: runs-on: ${{ matrix.os }}