Update sync-branches.yml

KisaPilot
This commit is contained in:
机械小鸽 2025-04-02 18:10:13 +08:00 committed by GitHub
parent 18199deacd
commit 3e6833042a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ jobs:
token: ${{ secrets.GH_TOKEN }} # 访问 GitHub 需要的令牌 token: ${{ secrets.GH_TOKEN }} # 访问 GitHub 需要的令牌
# 2. Add the source repositories as remotes and fetch branches # 2. Add the source repositories as remotes and fetch branches
- name: Add upstream repository and fetch branches - name: Add upstream repositories 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-wip4 v8-wip4-da --no-tags git fetch upstream v8-wip4 v8-wip4-da --no-tags
@ -26,6 +26,9 @@ jobs:
git remote add mazda_upstream https://github.com/heqichen/qcpilot.git git remote add mazda_upstream https://github.com/heqichen/qcpilot.git
git fetch mazda_upstream dev-cpp-selfdrived --no-tags git fetch mazda_upstream dev-cpp-selfdrived --no-tags
git remote add kisapilot_upstream https://github.com/kisapilot/openpilot.git
git fetch kisapilot_upstream KisaPilot --no-tags
# 3. Push v8-wip4 branch to your repository # 3. Push v8-wip4 branch to your repository
- name: Push v8-wip4 branch to your repository - name: Push v8-wip4 branch to your repository
run: | run: |
@ -38,8 +41,14 @@ jobs:
git checkout -B v8-wip4-da upstream/v8-wip4-da git checkout -B v8-wip4-da upstream/v8-wip4-da
git push origin v8-wip4-da --force git push origin v8-wip4-da --force
# 5. Push dev-cpp-selfdrivedt branch to your repository # 5. Push dev-cpp-selfdrived branch to your repository
- name: Push dev-cpp-selfdrived branch to your repository - name: Push dev-cpp-selfdrived branch to your repository
run: | run: |
git checkout -B dev-cpp-selfdrived mazda_upstream/dev-cpp-selfdrived git checkout -B dev-cpp-selfdrived mazda_upstream/dev-cpp-selfdrived
git push origin dev-cpp-selfdrived --force git push origin dev-cpp-selfdrived --force
# 6. Push KisaPilot branch to your repository
- name: Push KisaPilot branch to your repository
run: |
git checkout -B KisaPilot kisapilot_upstream/KisaPilot
git push origin KisaPilot --force