-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.cnb.yml
More file actions
26 lines (26 loc) · 818 Bytes
/
.cnb.yml
File metadata and controls
26 lines (26 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
main:
push:
# 导入密钥仓库文件为环境变量
- imports:
- https://cnb.cool/tencent/tdesign/tdesign-private/-/blob/main/cnb-envs.yml
stages:
- name: sync to github with rebase
image: tencentcom/git-sync
settings:
target_url: https://github.com/TDesignOteam/tdesign-mobile-vue-starter-community.git
auth_type: https
username: ${GIT_USERNAME}
password: ${GIT_ACCESS_TOKEN}
pull_request:
- name: commit-lint
stages:
- name: commit lint
image: cnbcool/commitlint
pull_request.mergeable:
- name: auto-merge
stages:
- name: CR 通过后自动合并
type: git:auto-merge
options:
mergeType: squash
removeSourceBranch: true