diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 000000000..c3a871cd1 --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,16 @@ +# .github/workflows/sync.yml +name: Sync Fork + +on: + push: + schedule: + - cron: '* */3 * * *' +jobs: + repo-sync: + runs-on: ubuntu-latest + steps: + - uses: TG908/fork-sync@v1.6.3 + with: + owner: NVIDIA Corporation # fork 的上游仓库 user + head: main # fork 的上游仓库 branch + base: main # 本地仓库 branch