From a05bc408a46dbb3658854561389c64390493656e Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Mon, 13 Jul 2026 00:46:29 +0800 Subject: [PATCH] fix(ci): serialize mirror synchronization --- .github/workflows/sync-mirrors.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sync-mirrors.yml b/.github/workflows/sync-mirrors.yml index cad877d6c3..3dfd21e16a 100644 --- a/.github/workflows/sync-mirrors.yml +++ b/.github/workflows/sync-mirrors.yml @@ -9,6 +9,12 @@ on: delete: workflow_dispatch: +# Mirror providers reject concurrent forced updates to the same ref. Serialize all +# branch, tag, and delete events so rapid GitHub pushes cannot race each other. +concurrency: + group: sync-mirrors + cancel-in-progress: false + jobs: sync-cnb: name: Sync to CNB