Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

ci(mirrors): sync on tags and 3x daily schedule instead of per push

t8y2447de3441b7a
diff --git a/.github/workflows/sync-mirrors.yml b/.github/workflows/sync-mirrors.yml
index 3dfd21e16a..f4a8b3ea55 100644
--- a/.github/workflows/sync-mirrors.yml
+++ b/.github/workflows/sync-mirrors.yml
@@ -2,15 +2,17 @@ name: Sync Mirrors
on:
push:
- branches:
- - main
tags:
- "**"
delete:
+ schedule:
+ # 3x daily (08:17/16:17/00:17 UTC+8), off the top of the hour to dodge the
+ # scheduled-run rush. Tags and deletes still sync immediately.
+ - cron: "17 */8 * * *"
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.
+# Mirror providers reject concurrent forced updates to the same ref. Serialize tag,
+# delete, and scheduled runs so overlapping triggers cannot race each other.
concurrency:
group: sync-mirrors
cancel-in-progress: false