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。

chore(github): run issue claims as dbx bot

t8y21b94534558ee
diff --git a/.github/workflows/issue-claim.yml b/.github/workflows/issue-claim.yml
index 6ba9c0e2a6..19b029c9c3 100644
--- a/.github/workflows/issue-claim.yml
+++ b/.github/workflows/issue-claim.yml
@@ -16,14 +16,23 @@ jobs:
claim:
runs-on: ubuntu-latest
if: ${{ !github.event.issue.pull_request }}
- env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v5
+ - name: Create DBX bot token
+ id: app-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-issues: write
+
- name: Handle /claim command
run: node .github/scripts/issue-claim.mjs
env:
+ GH_TOKEN: ${{ steps.app-token.outputs.token }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
COMMENT_BODY: ${{ github.event.comment.body }}
COMMENT_USER: ${{ github.event.comment.user.login }}