From 2ab54ff201738c0a277f3fc79718d22996988638 Mon Sep 17 00:00:00 2001 From: Kyle Harding Date: Fri, 20 Sep 2024 18:31:07 -0400 Subject: [PATCH] Fetch full depth in order to checkout custom meta-balena-refs Change-type: patch Signed-off-by: Kyle Harding --- .github/workflows/yocto-build-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/yocto-build-deploy.yml b/.github/workflows/yocto-build-deploy.yml index a866f3cc9..f905c5171 100644 --- a/.github/workflows/yocto-build-deploy.yml +++ b/.github/workflows/yocto-build-deploy.yml @@ -1098,6 +1098,7 @@ jobs: owner: balena-io # Clone the device respository to fetch Leviathan + # https://github.com/actions/checkout - name: Clone device repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: @@ -1105,6 +1106,7 @@ jobs: token: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }} ref: ${{ inputs.device-repo-ref }} submodules: recursive # We need to set this to recursive as leviathan is a submodule nested inside the meta-balena submodule of the device repo + fetch-depth: 0 fetch-tags: true # Do not persist the app installation token credentials, # and prefer that each step provide credentials where required