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。

fix(ci): push JDBC bump with release token

github-actions[bot]eae1fa0c75bf
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 364e52b3f3..73ef4090a2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -85,6 +85,8 @@ jobs:
- name: Commit JDBC plugin version bump
if: steps.bump.outputs.changed == 'true'
shell: bash
+ env:
+ RELEASE_TOKEN: ${{ secrets.MCP_RELEASE_TOKEN }}
run: |
TMP_DIR="$(mktemp -d)"
cp plugins/jdbc/build.gradle "$TMP_DIR/build.gradle"
@@ -92,6 +94,9 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
+ if [ -n "${RELEASE_TOKEN}" ]; then
+ git remote set-url origin "https://x-access-token:${RELEASE_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
+ fi
git fetch origin main
git switch -C jdbc-plugin-version-bump origin/main
cp "$TMP_DIR/build.gradle" plugins/jdbc/build.gradle