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 authored and rcooke-warwick committed Sep 30, 2024
1 parent bdb4b6e commit 2ab54ff
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 @@ -1098,13 +1098,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 2ab54ff

Please sign in to comment.