From 07a5afd2e7b1a292cf33977342eb3fe53ce2bb89 Mon Sep 17 00:00:00 2001 From: JesusPoderoso Date: Mon, 2 Sep 2024 13:01:25 +0200 Subject: [PATCH] Refs #21302: Use selected branch in migging jobs (docs & uncrustify) Signed-off-by: JesusPoderoso --- .github/workflows/reusable-workflow.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/reusable-workflow.yml b/.github/workflows/reusable-workflow.yml index cf024ae80..a01c14b30 100644 --- a/.github/workflows/reusable-workflow.yml +++ b/.github/workflows/reusable-workflow.yml @@ -282,6 +282,12 @@ jobs: runs-on: ubuntu-22.04 steps: + - name: Sync repository + uses: eProsima/eProsima-CI/external/checkout@v0 + with: + path: src + ref: ${{ inputs.ref }} + - name: Install libtinyxml in ubuntu uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@v0 with: @@ -309,5 +315,11 @@ jobs: runs-on: ubuntu-22.04 steps: + - name: Sync repository + uses: eProsima/eProsima-CI/external/checkout@v0 + with: + path: src + ref: ${{ inputs.ref }} + - name: Uncrustify uses: eProsima/eProsima-CI/ubuntu/uncrustify@v0