From 290874a24e034631ce7b63041833ec7df98fc619 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 5 Dec 2022 15:51:10 -0700 Subject: [PATCH] CI: adjust logic for cancelling workflows This prevents clobbering when two contributors' PRs have the same head ref. --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 52b047dc36bab5dff310d07f12dd2098cd870c95..e9b9bd21f09fef95a7f24a5d4c7cc7e3e4768be5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,7 +6,7 @@ on: - master concurrency: # Cancels pending runs when a PR gets updated. - group: ${{ github.head_ref || github.run_id }} + group: ${{ github.head_ref || github.run_id }}-${{ github.actor }} cancel-in-progress: true jobs: x86_64-linux-debug: -- 2.54.0