feat: sync ropo

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

@ -0,0 +1,25 @@
# https://github.com/BetaHuhn/repo-file-sync-action
OpenIMSDK/openim-sdk-core:
- source: LICENSE
dest: LICENSE
- source: .gitingore
dest: .gitingore
- source: .golangci.yml
dest: .golangci.yml
- source: workflows/
dest: .github/workflows/
replace: false
exclude: |
e2e-test.yml
group:
repos: |
OpenIMSDK/OpenIM-Docs
OpenIMSDK/community
files:
- source: .gitingore
dest: .gitingore
- source: LICENSE
dest: LICENSE
- source: .github/sync_docs.yml
dest: .github/sync_docs.yml

@ -0,0 +1,28 @@
# https://github.com/BetaHuhn/repo-file-sync-action
name: Sync Docs
on:
push:
branches:
- main
paths:
- ".golangci.yml"
- ".gitingore"
- "LICENSE"
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_docs.yml
ORIGINAL_MESSAGE: true
SKIP_PR: true
COMMIT_EACH_FILE: false
GIT_EMAIL: "3293172751nss@gmail.com"
GIT_USERNAME: "openim-kubbot"

@ -25,7 +25,7 @@ ANALYSIS_TOOLS = golangci-lint goimports golines go-callvis kube-score
GENERATION_TOOLS = deepcopy-gen conversion-gen protoc-gen-go cfssl rts codegen
# Testing tools
TEST_TOOLS = ginkgo go-junit-report gotests
# cos tools
# tenxun cos tools
COS_TOOLS = coscli coscmd
# Version control tools
VERSION_CONTROL_TOOLS = addlicense go-gitlint git-chglog github-release gsemver

Loading…
Cancel
Save