chore: promote main as trunk branch (CI triggers + release doc refs)

This commit is contained in:
DHEnry committed 2026-10-25 21:12:09 +08:00
1 parent bc3c77ed75
commit ba9a903377
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
name: Build
# 触发:组织仓库的两个主分支 push + 手动(fork/PR 运行只做质检不上传,令牌只读)
# 触发:主分支 push + 手动(fork/PR 运行只做质检不上传,令牌只读)
on:
push:
branches: [develop, codex/editor-backend-integration]
branches: [main, develop]
workflow_dispatch:
env:
+2 -2
View File
@@ -1,7 +1,7 @@
# ScCN 编辑器:从构建到上线(操作手册)
> 面向运维/发布执行者。开发视角见 [sccn-backend.md](sccn-backend.md)。
> 本仓库默认分支即 `codex/editor-backend-integration`(ScCN 的自定义分支)。
> 本仓库默认分支为 `main`(ScCN 的主干);历史分支 `codex/editor-backend-integration` 已并入 `main`。
## 0. 速查
@@ -37,7 +37,7 @@
curl -X POST \
-H "Authorization: token <你的 Gitea token>" \
-H "Content-Type: application/json" \
-d '{"ref":"codex/editor-backend-integration"}' \
-d '{"ref":"main"}' \
https://git.shuiankongjian.top/api/v1/repos/ScCN/scratch-gui/actions/workflows/ci.yml/dispatches
```