From 630e2f2146933b4bd48cc96a825649e8946eaadd Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Fri, 8 Sep 2023 09:39:36 +0200 Subject: [PATCH] action: manifest: Use Git tree checkout Signed-off-by: Carles Cufi --- .github/workflows/manifest.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manifest.yml b/.github/workflows/manifest.yml index 1ea0031fb56..597dcd3e845 100644 --- a/.github/workflows/manifest.yml +++ b/.github/workflows/manifest.yml @@ -15,12 +15,22 @@ jobs: fetch-depth: 0 persist-credentials: false + - name: west setup + env: + BASE_REF: ${{ github.base_ref }} + run: | + pip3 install west + git config --global user.email "you@example.com" + git config --global user.name "Your Name" + west init -l . || true + - name: Manifest - uses: zephyrproject-rtos/action-manifest@a6d0c6e52bbbb7d6df23ceb42842edcb4582b8dc + uses: carlescufi/action-manifest@use-tree-checkout with: github-token: ${{ secrets.ZB_GITHUB_TOKEN }} manifest-path: 'west.yml' checkout-path: 'zephyrproject/zephyr' + use-tree-checkout: 'true' label-prefix: 'manifest-' verbosity-level: '1' labels: 'manifest'