From bd0119c9e23023ad3d0820dc41431ed900835075 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 5 Mar 2025 15:07:49 -0700 Subject: [PATCH] Cancel previous CI workflows --- .github/workflows/analyze.yml | 4 ++++ .github/workflows/build.yml | 4 ++++ .github/workflows/format.yml | 4 ++++ .github/workflows/legobin.yml | 4 ++++ .github/workflows/naming.yml | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 2a25072a..b42393ab 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -2,6 +2,10 @@ name: Analyze on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: decomplint-isle: name: ${{ matrix.who }} annotations diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 119526ea..3349c0ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,10 @@ name: Build on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: fetch-deps: name: Download original binaries diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 74424665..0c351c79 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -2,6 +2,10 @@ name: Format on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: clang-format: name: C++ diff --git a/.github/workflows/legobin.yml b/.github/workflows/legobin.yml index 0fcf175f..c41c0c10 100644 --- a/.github/workflows/legobin.yml +++ b/.github/workflows/legobin.yml @@ -3,6 +3,10 @@ name: Download legobin on: workflow_call: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: fetch: runs-on: ubuntu-latest diff --git a/.github/workflows/naming.yml b/.github/workflows/naming.yml index 15d57553..6c01e9dc 100644 --- a/.github/workflows/naming.yml +++ b/.github/workflows/naming.yml @@ -2,6 +2,10 @@ name: Naming on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: ncc: name: C++