feat: sync robot

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/455/head
Xinwei Xiong(cubxxw-openim) 2 years ago
parent c002967c9d
commit cd86f8b03f

29
.github/sync.yml vendored

@ -0,0 +1,29 @@
# https://github.com/BetaHuhn/repo-file-sync-action
OpenIMSDK/openim-sdk-core:
- source: LICENSE
dest: LICENSE
- source: .golangci.yml
dest: .golangci.yml
- source: .github/workflows/
dest: .github/workflows/
replace: true
exclude: |
e2e-test.yml
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

@ -0,0 +1,29 @@
# https://github.com/BetaHuhn/repo-file-sync-action
name: Sync Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1.21.0
with:
GH_PAT: ${{ secrets.BOT_GITHUB_TOKEN }}
CONFIG_PATH: .github/sync.yml
ORIGINAL_MESSAGE: true
SKIP_PR: true
COMMIT_EACH_FILE: false
GIT_EMAIL: "3293172751nss@gmail.com"
GIT_USERNAME: "cubxxw"
FORK: cubxxw
Loading…
Cancel
Save