From 64bef2099d2a241e8047c6e2db3866837044f9ba Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Mon, 15 Jul 2024 08:15:36 +0100 Subject: [PATCH] github: Separate workflow concurrency groups based on event name So as not to cancel scheduled tasks when initiating manual runs. Signed-off-by: Thomas Parrott --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9fac19f60..e266ed4b2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ permissions: contents: read concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} # XXX: scheduled runs should not cancel manually triggered ones cancel-in-progress: ${{ !contains(github.event_name, 'schedule')}}