Skip to content

Commit ab5178a

Browse files
committed
docs: clarify frontend release permissions
1 parent 9219b74 commit ab5178a

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

docs/en/guide/releasing.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
The project uses Semantic Versioning and Conventional Commits.
44

5-
Complete these settings once in both GitHub repositories:
5+
Complete these settings once in the backend GitHub repository:
66

77
- In `Settings → Actions → General → Workflow permissions`, grant read/write
8-
access and allow GitHub Actions to create pull requests.
8+
access and allow GitHub Actions to create pull requests. The frontend repository
9+
only needs the default read-only Actions permission.
910
- Keep squash merging enabled. The release workflow waits for required checks
1011
before merging the release pull request.
1112
- Add `DOCKER_USERNAME` and `DOCKER_PASSWORD` Actions secrets to the backend repository.

docs/guide/releasing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
项目采用 Semantic Versioning 和 Conventional Commits 管理版本。
44

5-
首次启用时,需要在两个 GitHub 仓库完成以下设置:
5+
首次启用时,需要在后端 GitHub 仓库完成以下设置:
66

77
- `Settings → Actions → General → Workflow permissions` 选择读写权限,并允许
8-
GitHub Actions 创建 Pull Request。
8+
GitHub Actions 创建 Pull Request。前端仓库只需要默认的 Actions 读取权限。
99
- 保持 Squash merge 可用;自动发布工作流会等待必需检查通过后合并发布 PR。
1010
- 后端仓库配置 `DOCKER_USERNAME``DOCKER_PASSWORD` Actions Secrets。
1111

0 commit comments

Comments
 (0)