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。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
ci(mcp): require release token for protected main
t8y2c23c32b2b9ef
diff --git a/.github/workflows/mcp-release.yml b/.github/workflows/mcp-release.ymlindex 78bcaf9ead..232ac6c184 100644--- a/.github/workflows/mcp-release.yml+++ b/.github/workflows/mcp-release.yml@@ -28,7 +28,6 @@ jobs:- uses: actions/checkout@v4with:fetch-depth: 0- token: ${{ secrets.MCP_RELEASE_TOKEN || github.token }}- name: Setup pnpmuses: pnpm/action-setup@v4@@ -52,6 +51,15 @@ jobs:exit 1fi+ - name: Check release token+ env:+ RELEASE_TOKEN: ${{ secrets.MCP_RELEASE_TOKEN }}+ run: |+ if [ -z "${RELEASE_TOKEN}" ]; then+ echo "::error::MCP_RELEASE_TOKEN secret is required to push the MCP release commit and tag because main is protected."+ exit 1+ fi+- name: Install native build dependenciesrun: |sudo apt-get update@@ -141,8 +149,11 @@ jobs:git tag "mcp-v${VERSION}"- name: Push MCP release commit and tag+ env:+ RELEASE_TOKEN: ${{ secrets.MCP_RELEASE_TOKEN }}run: |VERSION="${{ steps.version.outputs.version }}"+ git remote set-url origin "https://x-access-token:${RELEASE_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"git push origin HEAD:maingit push origin "mcp-v${VERSION}"