feat: sync robot

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-06-09 22:12:02 +08:00
parent c002967c9d
commit cd86f8b03f
2 changed files with 58 additions and 0 deletions
+29
View File
@@ -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