diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 893d1b9c..f21e66f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,7 +69,7 @@ jobs: # select only C apps if [[ $sdk == "C" ]]; then - repo_info+="{\"repo_name\": \"$repo_name\", \"build_directory\": \"$build_directory\", \"sdk\": \"$sdk\", \"devices\": \"$devices\"}," + repo_info+="{\"repo_name\": \"$repo_name\",\"default_branch\": \"$default_branch\", \"build_directory\": \"$build_directory\", \"sdk\": \"$sdk\", \"devices\": \"$devices\"}," fi else echo "$repo does not contain ledger_app.toml" @@ -104,6 +104,7 @@ jobs: uses: actions/checkout@v3 with: repository: LedgerHQ/${{ matrix.repo_info.repo_name }} + ref: ${{ matrix.repo_info.default_branch }} submodules: true - name: Clone SDK