From d46b17b1f160a2104bbb01919df79132294f02a8 Mon Sep 17 00:00:00 2001 From: Andreas Pardeike Date: Wed, 14 Feb 2024 00:37:39 +0100 Subject: [PATCH] better cancelling --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23c4d83e..3f18f6c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ on: workflow_dispatch: concurrency: - group: ${{github.head_ref}}-${{github.event.pull_request.number}} + group: ${{github.workflow}}-${{github.event.pull_request.number || github.ref}} cancel-in-progress: true env: