Skip to content

Commit

Permalink
Fetch full depth in order to checkout custom meta-balena-refs
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Sep 27, 2024
1 parent da8a09b commit 0e54aea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/yocto-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1095,13 +1095,15 @@ 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:
repository: ${{ inputs.device-repo }}
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
Expand Down

0 comments on commit 0e54aea

Please sign in to comment.