From 62d363613687962a8929b982c883efef9aaa8d68 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 26 Sep 2024 10:15:27 +0200 Subject: [PATCH] chore(actions): git clone should be from the specific tag for submodule Signed-off-by: rjshrjndrn --- .github/workflows/patch-build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/patch-build.yaml b/.github/workflows/patch-build.yaml index e37b63931..f35c738bc 100644 --- a/.github/workflows/patch-build.yaml +++ b/.github/workflows/patch-build.yaml @@ -83,6 +83,9 @@ jobs: [ -d $MSAAS_REPO_FOLDER ] || { git clone -b dev --recursive https://x-access-token:$MSAAS_REPO_CLONE_TOKEN@$MSAAS_REPO_URL $MSAAS_REPO_FOLDER cd $MSAAS_REPO_FOLDER + cd openreplay && git fetch origin && git checkout main # This have to be changed to specific tag + git log -1 + cd $MSAAS_REPO_FOLDER bash git-init.sh git checkout }