From f1a9adeee3fe17000ad44f3d62936be535e6a8e7 Mon Sep 17 00:00:00 2001 From: Jaeyoung-Lim Date: Sun, 31 Jul 2022 12:31:32 +0200 Subject: [PATCH] Use branch name main instead of master --- .github/workflows/firmware_build_test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/firmware_build_test.yml b/.github/workflows/firmware_build_test.yml index 5eb6323a96..d3129918d3 100644 --- a/.github/workflows/firmware_build_test.yml +++ b/.github/workflows/firmware_build_test.yml @@ -3,7 +3,7 @@ name: Firmware Build and SITL Tests on: push: branches: - - master + - main pull_request: branches: - '*' @@ -21,17 +21,17 @@ jobs: image: px4io/px4-dev-simulation-focal:2021-05-31 options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined steps: - - name: Checkout Firmware master + - name: Checkout Firmware main uses: actions/checkout@v2.3.1 with: repository: PX4/Firmware - ref: master + ref: main path: Firmware fetch-depth: 0 submodules: recurvise - name: Checkout matching branch on PX4/Firmware if possible run: | - git checkout ${{github.head_ref}} || echo "Firmware branch: ${{github.head_ref}} not found, using master instead" + git checkout ${{github.head_ref}} || echo "Firmware branch: ${{github.head_ref}} not found, using main instead" git submodule update --init --recursive working-directory: Firmware - name: Configure Firmware to include current sitl_gazebo version