Update sync-branches.yml
r3
This commit is contained in:
parent
1abc92c0f2
commit
b6c0551c62
9
.github/workflows/sync-branches.yml
vendored
9
.github/workflows/sync-branches.yml
vendored
@ -85,14 +85,9 @@ jobs:
|
||||
- name: Add remote for commaai/openpilot
|
||||
run: |
|
||||
git remote add commaai https://github.com/commaai/openpilot.git
|
||||
git fetch commaai master
|
||||
|
||||
git fetch commaai release3
|
||||
# Sync master branch from commaai/openpilot to opmaster
|
||||
- name: Sync master branch to opmaster
|
||||
run: |
|
||||
git branch -r | grep "origin/opmaster" && git push origin --delete opmaster || echo "No conflict with opmaster"
|
||||
git checkout -b opmaster commaai/master
|
||||
git push origin opmaster
|
||||
|
||||
# Sync release3 branch from commaai/openpilot to release3
|
||||
- name: Sync release3 branch
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user