diff --git a/src/upstream/white_box.md b/src/upstream/white_box.md new file mode 100644 index 0000000000000000000000000000000000000000..f5f3fc671072c3ae28a24847f8b345ca4ad887f5 --- /dev/null +++ b/src/upstream/white_box.md @@ -0,0 +1,34 @@ + +```yaml +#white_box.yaml配置项说明 +#按照组织配置 +##按照组织配置会采集组织下所有仓库的所有分支的commit/pr/review +owners: + gitee: #所属平台 + - openeuler #所属组织 + - mindspore + gitcode: #所属平台 + - opengauss #所属组织 + - openubmc + +#按照仓库配置 +##按照仓库配置会按需采集pr/review/commit +##如果 all_branch 和 branch都没有配置,则会采集仓库默认配置 +repos: + github: #所属平台 + - repo_path: pytorch/pytorch #仓库 + metrics: + - pr #采集pr + - review #采集review + - commit #采集commit(代码量) + branch: #按需采集的分支 + - main + all_branch: true #采集所有分支,该配置项会覆盖 branch 配置项 + gitcode: + - repo_path: modelx/MindSpeed + metrics: + - pr #采集pr + - review #采集review + - commit #采集commit(代码量) + branch: #按需采集的分支 + - main \ No newline at end of file