From 2786c6813a3545e328a8ff8d87c6fe46a0804fc8 Mon Sep 17 00:00:00 2001 From: overtrue Date: Sun, 23 Aug 2026 04:31:40 +0800 Subject: [PATCH] ci(coverage): cancel superseded PR runs --- .github/workflows/coverage.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 90959941a..e82116c16 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -48,6 +48,10 @@ on: # e2e-replication-nightly (04:00) and performance-ab (06:00) lanes. - cron: "43 7 * * 0" +concurrency: + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ github.event_name != 'schedule' }} + # Only alert-on-failure needs more than read access; it declares its own # job-level `issues: write`. permissions: