docs: clarify frontend release permissions

This commit is contained in:
Lan committed 2026-07-11 21:59:07 +08:00
1 parent 9219b74333
commit ab5178a73a
2 files changed
+5 -4

No files matched your search

+3 -2
View File
@@ -2,10 +2,11 @@
The project uses Semantic Versioning and Conventional Commits.
Complete these settings once in both GitHub repositories:
Complete these settings once in the backend GitHub repository:
- In `Settings → Actions → General → Workflow permissions`, grant read/write
access and allow GitHub Actions to create pull requests.
access and allow GitHub Actions to create pull requests. The frontend repository
only needs the default read-only Actions permission.
- Keep squash merging enabled. The release workflow waits for required checks
before merging the release pull request.
- Add `DOCKER_USERNAME` and `DOCKER_PASSWORD` Actions secrets to the backend repository.
+2 -2
View File
@@ -2,10 +2,10 @@
项目采用 Semantic Versioning 和 Conventional Commits 管理版本。
首次启用时,需要在两个 GitHub 仓库完成以下设置:
首次启用时,需要在后端 GitHub 仓库完成以下设置:
- `Settings → Actions → General → Workflow permissions` 选择读写权限,并允许
GitHub Actions 创建 Pull Request。
GitHub Actions 创建 Pull Request。前端仓库只需要默认的 Actions 读取权限。
- 保持 Squash merge 可用;自动发布工作流会等待必需检查通过后合并发布 PR。
- 后端仓库配置 `DOCKER_USERNAME` 和 `DOCKER_PASSWORD` Actions Secrets。