From dc852f8226749eb8dd5e1e2496f18a4d102f60b1 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 52b047dc36..e9b9bd21f0 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: