Skip to content

Sync Fork

Sync Fork #4766

Workflow file for this run

# .github/workflows/sync.yml
name: Sync Fork
on:
push: # push 时触发, 主要是为了测试配置有没有问题
schedule:
- cron: '1 */2 * * *'
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: tgymnich/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
owner: gaotianliuyun # fork 的上游仓库 user
head: master # fork 的上游仓库 branch
base: master # 本地仓库 branch