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 Oct 1, 2024
1 parent 505cabc commit e1f1a2f
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
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 e1f1a2f

Please sign in to comment.