From 099c04f1d138806c9cb95fb2481652b36f05df55 Mon Sep 17 00:00:00 2001 From: Tom Herbers Date: Wed, 20 Dec 2023 13:54:29 +0100 Subject: [PATCH] cancel in progress workflows for PRs when they become outdated --- .github/workflows/build-gluon.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-gluon.yml b/.github/workflows/build-gluon.yml index 6081f8fd6a..40fe7f69b2 100644 --- a/.github/workflows/build-gluon.yml +++ b/.github/workflows/build-gluon.yml @@ -12,6 +12,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + jobs: changed: permissions: