Update sync-branches.yml

v7-wip6-casper_ev
This commit is contained in:
机械小鸽 2025-01-09 09:12:52 +08:00 committed by GitHub
parent 069ec4d20a
commit 276807e80c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,9 +75,9 @@ jobs:
- name: Add remote for ajouatom/openpilot - name: Add remote for ajouatom/openpilot
run: | run: |
git remote add ajouatom https://github.com/ajouatom/openpilot.git git remote add ajouatom https://github.com/ajouatom/openpilot.git
git fetch ajouatom v7-wip6 git fetch ajouatom v7-wip6-casper_ev
- name: Sync v7-wip6 carrot2-v6 branch from ajouatom/openpilot - name: Sync v7-wip6 carrot2-v6 branch from ajouatom/openpilot
run: | run: |
git branch -r | grep "origin/v7-wip6" && git push origin --delete v7-wip6 || echo "No conflict with v7-wip5-ndv2 carrot2-v6" git branch -r | grep "origin/v7-wip6-casper_ev" && git push origin --delete v7-wip6-casper_ev || echo "No conflict with v7-wip5-ndv2 carrot2-v6"
git checkout -b v7-wip6 ajouatom/v7-wip6 git checkout -b v7-wip6-casper_ev ajouatom/v7-wip6-casper_ev
git push origin v7-wip6 git push origin v7-wip6-casper_ev