Commit 290874a24e

Andrew Kelley <andrew@ziglang.org>
2022-12-05 23:51:10
CI: adjust logic for cancelling workflows
This prevents clobbering when two contributors' PRs have the same head ref.
1 parent 033dcf7
Changed files (1)
.github
workflows
.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: