5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-02 22:18:28 -04:00

github: allow test_size to work outside of upstream repo

This commit is contained in:
Tom Pittenger 2023-01-23 15:26:35 -08:00 committed by Andrew Tridgell
parent 5576595006
commit fd32425d24

View File

@ -151,9 +151,9 @@ jobs:
cd pr/
git config user.email "ardupilot-ci@ardupilot.org"
git config user.name "ArduPilot CI"
git remote add ardupilot https://github.com/ArduPilot/ardupilot.git
git fetch --no-tags --prune --progress ardupilot ${{ github.event.pull_request.base.ref }}
git rebase ardupilot/${{ github.event.pull_request.base.ref }}
git remote add target_repo https://github.com/${{github.event.pull_request.base.repo.full_name}}
git fetch --no-tags --prune --progress target_repo ${{ github.event.pull_request.base.ref }}
git rebase target_repo/${{ github.event.pull_request.base.ref }}
git submodule update --init --recursive --depth=1
# configure
if [ $BOOTLOADER -eq 1 ]; then