diff --git a/.github/workflows/refactor.yml b/.github/workflows/refactor.yml new file mode 100644 index 000000000..ac2a4b5e9 --- /dev/null +++ b/.github/workflows/refactor.yml @@ -0,0 +1,17 @@ +# .github/workflows/sync.yml +name: Sync Fork + +on: + push: # push 时触发, 主要是为了测试配置有没有问题 + schedule: + - cron: '*/30 * * * *' # every 30 minutes +jobs: + repo-sync: + runs-on: ubuntu-latest + steps: + - uses: tgymnich/fork-sync@v2.0.10 + with: + token: ${{ secrets.PERSONAL_TOKEN }} + owner: SengokuCola # fork 的上游仓库 user + head: refactor # fork 的上游仓库 branch + base: refactor # 本地仓库 branch