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): use DBX bot token for agent releases

t8y261b820f4bca2
diff --git a/.github/workflows/agents-release.yml b/.github/workflows/agents-release.yml
index 764e477f9c..945d0bcf75 100644
--- a/.github/workflows/agents-release.yml
+++ b/.github/workflows/agents-release.yml
@@ -283,7 +283,22 @@ jobs:
needs: [bump-versions, build-agents, build-oracle-native, build-xugu-native, build-kingbase-native, build-jre]
runs-on: ubuntu-latest
steps:
+ - name: Create DBX bot release token
+ id: release-token
+ uses: actions/create-github-app-token@v3
+ with:
+ app-id: ${{ vars.DBX_BOT_APP_ID }}
+ private-key: ${{ secrets.DBX_BOT_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ repositories: dbx
+ permission-contents: write
+ # Moving agents-latest across commits that modify workflow files
+ # requires the GitHub App's dedicated Workflows permission.
+ permission-workflows: write
+
- uses: actions/checkout@v4
+ with:
+ token: ${{ steps.release-token.outputs.token }}
- uses: actions/download-artifact@v4
with:
path: artifacts
@@ -537,13 +552,14 @@ jobs:
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
+ token: ${{ steps.release-token.outputs.token }}
files: release/*
body_path: RELEASE_NOTES.md
make_latest: false
- name: Update agents-latest GitHub release
env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GH_TOKEN: ${{ steps.release-token.outputs.token }}
run: |
git tag -f agents-latest "$GITHUB_SHA"
git push origin refs/tags/agents-latest --force