From 0e54aea2c8e02f2ca53823457f7b1c387dbc67d6 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 25d694a23..6d2d79881 100644 --- a/.github/workflows/yocto-build-deploy.yml +++ b/.github/workflows/yocto-build-deploy.yml @@ -1095,6 +1095,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: @@ -1102,6 +1103,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