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"
|
Loading…
Reference in new issue