From 66d8fafc8d540d12ea77f32f19ac01fcce41abc1 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Sun, 11 Jun 2023 12:14:10 +0800 Subject: [PATCH] feat: sync file to * Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .github/sync.yml | 38 +++++++++++++++++++++----------------- .github/workflows/sync.yml | 3 +++ 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/.github/sync.yml b/.github/sync.yml index bca2575be..ca3fc515d 100644 --- a/.github/sync.yml +++ b/.github/sync.yml @@ -32,7 +32,7 @@ OpenIMSDK/community: OpenIMSDK/openim-sdk-core: - source: LICENSE - dest: LICENSE + dest: LICENSE - source: script/LICENSE/ dest: scripts/LICENSE/ replace: true @@ -47,19 +47,23 @@ OpenIMSDK/openim-sdk-core: exclude: | sync.yml -# group: -# repos: | -# OpenIMSDK/OpenIM-Docs -# OpenIMSDK/community -# files: -# - source: .gitingore -# dest: .gitingore -# - source: LICENSE -# dest: LICENSE -# replace: false -# - source: .github/sync_docs.yml -# dest: .github/sync_docs.yml -# - source: workflows/ -# dest: .github/workflows/ -# exclude: | -# e2e-test.yml \ No newline at end of file +group: + # first group:common to all warehouses + # TODO: add the required warehouse here + - repos: | + kubecub/OpenIM-Docs@main + files: + # - source: .gitingore + # dest: .gitingore + # replace: false + - source: LICENSE + dest: LICENSE + replace: false + - source: .github/workflows/ + dest: .github/workflows/ + exclude: | + e2e-test.yml + sync.yml + - source: script/githooks/ + dest: scripts/githooks/ + replace: false \ No newline at end of file diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 53668342d..871e400d5 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -36,5 +36,8 @@ jobs: REVIEWERS: | kubbot cubxxw + PR_LABELS: | + file-sync + automerge ASSIGNEES: | kubbot \ No newline at end of file