Update sync-branches.yml

This commit is contained in:
机械小鸽 2025-02-26 18:17:56 +08:00 committed by GitHub
parent cc3040b0bc
commit 788ed147c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,16 +21,16 @@ jobs:
- name: Add the source repository as a remote and fetch branches - name: Add the source repository as a remote and fetch branches
run: | run: |
git remote add upstream https://github.com/ajouatom/openpilot.git git remote add upstream https://github.com/ajouatom/openpilot.git
git fetch upstream v8-wip2 v8-wip2-da --no-tags git fetch upstream v8-wip3 v8-wip3-da --no-tags
# 3. Push v8-wip2 branch to your repository # 3. Push v8-wip2 branch to your repository
- name: Push v8-wip2 branch to your repository - name: Push v8-wip3 branch to your repository
run: | run: |
git checkout -B v8-wip2 upstream/v8-wip2 git checkout -B v8-wip3 upstream/v8-wip3
git push origin v8-wip2 --force git push origin v8-wip3 --force
# 4. Push v8-wip2-da branch to your repository # 4. Push v8-wip2-da branch to your repository
- name: Push v8-wip2-da branch to your repository - name: Push v8-wip3-da branch to your repository
run: | run: |
git checkout -B v8-wip2-da upstream/v8-wip2-da git checkout -B v8-wip3-da upstream/v8-wip3-da
git push origin v8-wip2-da --force git push origin v8-wip3-da --force