From 110138ed85edbb1646a99d10fa134e3bbc33b8bf Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Tue, 12 Mar 2024 16:44:18 +0200 Subject: [PATCH] ci: Add `concurrency` to top-level workflows So that a failure stops all CI for a PR. --- .github/workflows/actionlint.yml | 4 ++++ .github/workflows/qns.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 1ddcfb4f09..c0e6de01c0 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -8,6 +8,10 @@ on: paths: [".github/**"] merge_group: +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true + jobs: actionlint: runs-on: ubuntu-latest diff --git a/.github/workflows/qns.yml b/.github/workflows/qns.yml index 2b1deb4be8..caadb022df 100644 --- a/.github/workflows/qns.yml +++ b/.github/workflows/qns.yml @@ -8,6 +8,10 @@ on: branches: ["main"] merge_group: +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true + jobs: quic-network-simulator: runs-on: ubuntu-latest