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): avoid setting r2 cors during changelog sync

t8y27d0a531b7ec5
diff --git a/.github/r2-cors.json b/.github/r2-cors.json
deleted file mode 100644
index d5a9929a1e..0000000000
--- a/.github/r2-cors.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "CORSRules": [
- {
- "AllowedHeaders": ["*"],
- "AllowedMethods": ["GET", "HEAD"],
- "AllowedOrigins": ["*"],
- "ExposeHeaders": ["ETag"],
- "MaxAgeSeconds": 3600
- }
- ]
-}
diff --git a/.github/workflows/sync-changelog.yml b/.github/workflows/sync-changelog.yml
index 88ac8a6c53..1d9c1ff2a7 100644
--- a/.github/workflows/sync-changelog.yml
+++ b/.github/workflows/sync-changelog.yml
@@ -28,10 +28,6 @@ jobs:
- name: Upload to R2
run: |
pip install awscli --quiet
- aws s3api put-bucket-cors \
- --bucket "${R2_BUCKET_NAME}" \
- --cors-configuration file://.github/r2-cors.json \
- --endpoint-url "https://${R2_ACCOUNT_ID}.r2.cloudflarestorage.com"
aws s3 cp releases-cn.json "s3://${R2_BUCKET_NAME}/changelog/releases-cn.json" \
--endpoint-url "https://${R2_ACCOUNT_ID}.r2.cloudflarestorage.com" \
--content-type application/json