Update sync-branches.yml

This commit is contained in:
机械小鸽 2025-02-18 18:11:47 +08:00 committed by GitHub
parent 6523d3bc5d
commit cc3040b0bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ 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-mazda_spam --no-tags git fetch upstream v8-wip2 v8-wip2-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-wip2 branch to your repository
@ -29,8 +29,8 @@ jobs:
git checkout -B v8-wip2 upstream/v8-wip2 git checkout -B v8-wip2 upstream/v8-wip2
git push origin v8-wip2 --force git push origin v8-wip2 --force
# 4. Push v8-wip2-da-mazda_spam branch to your repository # 4. Push v8-wip2-da branch to your repository
- name: Push v8-wip2-da-mazda_spam branch to your repository - name: Push v8-wip2-da branch to your repository
run: | run: |
git checkout -B v8-wip2-da-mazda_spam upstream/v8-wip2-da-mazda_spam git checkout -B v8-wip2-da upstream/v8-wip2-da
git push origin v8-wip2-da-mazda_spam --force git push origin v8-wip2-da --force