Skip to content

Sync Fork

Sync Fork #2978

Workflow file for this run

name: Sync Fork
on:
push: # push 时触发, 主要是为了测试配置有没有问题
schedule:
- cron: '* */24 * * *' # 每3小时触发, 对于一些更新不那么频繁的项目可以设置为每天一次, 低碳一点
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: tgymnich/[email protected]
with:
token: ${{ secrets.TOKEN }}
owner: ngosang # fork 的上游仓库 user
head: master # fork 的上游仓库 branch
base: master # 本地仓库 branch