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): move Feishu release card after release promotion

t8y27e732a985a19
diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml
index a5b2b71a42..913a5893c4 100644
--- a/.github/workflows/publish-packages.yml
+++ b/.github/workflows/publish-packages.yml
@@ -502,3 +502,22 @@ jobs:
-H 'Authorization: Bearer ${ASTRBOT_API_KEY}' \
-H 'Content-Type: application/json' \
--data-binary @-"
+
+ notify-feishu:
+ name: Notify Feishu group
+ needs: [promote-release]
+ if: ${{ inputs.notify }}
+ # Card sends after promotion so the title reflects the formal release.
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v5
+
+ - name: Send release card to Feishu
+ continue-on-error: true
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ FEISHU_APP_ID: ${{ secrets.FEISHU_APP_ID }}
+ FEISHU_APP_SECRET: ${{ secrets.FEISHU_APP_SECRET }}
+ FEISHU_CHAT_ID: ${{ secrets.FEISHU_CHAT_ID }}
+ run: python3 scripts/notify_feishu.py "${{ github.event.inputs.tag }}"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1d6c06dd3c..0f37b1a927 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1089,25 +1089,6 @@ jobs:
--retain 5 \
--apply
- notify-feishu:
- name: Notify Feishu group
- needs: [publish, sync-release-to-cnb]
- # Card sends once the release is public even if the CNB mirror sync failed.
- if: always() && needs.publish.result == 'success'
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@v5
-
- - name: Send release card to Feishu
- continue-on-error: true
- env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- FEISHU_APP_ID: ${{ secrets.FEISHU_APP_ID }}
- FEISHU_APP_SECRET: ${{ secrets.FEISHU_APP_SECRET }}
- FEISHU_CHAT_ID: ${{ secrets.FEISHU_CHAT_ID }}
- run: python3 scripts/notify_feishu.py "${{ github.ref_name }}"
-
docker:
runs-on: ubuntu-latest
strategy: