From 029acabaef9236ffe410e884a3c99e11103a5c70 Mon Sep 17 00:00:00 2001 From: "Sun, Xuehao" Date: Thu, 4 Jul 2024 09:52:09 +0800 Subject: [PATCH 1/2] for test Signed-off-by: Sun, Xuehao --- .github/workflows/format_scan.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/format_scan.yml b/.github/workflows/format_scan.yml index db3f280c33d..e3ff8f5f318 100644 --- a/.github/workflows/format_scan.yml +++ b/.github/workflows/format_scan.yml @@ -54,6 +54,8 @@ jobs: - name: Checkout out Repo uses: actions/checkout@v4 + with: + fetch-tags: true - name: Docker Build run: | From b61a3e17e4c68f31893fc841eb5695c137f1a0ca Mon Sep 17 00:00:00 2001 From: "Sun, Xuehao" Date: Thu, 4 Jul 2024 10:23:36 +0800 Subject: [PATCH 2/2] for test Signed-off-by: Sun, Xuehao --- .github/workflows/format_scan.yml | 2 -- .github/workflows/unit-test-engine.yml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/format_scan.yml b/.github/workflows/format_scan.yml index e3ff8f5f318..db3f280c33d 100644 --- a/.github/workflows/format_scan.yml +++ b/.github/workflows/format_scan.yml @@ -54,8 +54,6 @@ jobs: - name: Checkout out Repo uses: actions/checkout@v4 - with: - fetch-tags: true - name: Docker Build run: | diff --git a/.github/workflows/unit-test-engine.yml b/.github/workflows/unit-test-engine.yml index d0045bac863..06f024434fe 100644 --- a/.github/workflows/unit-test-engine.yml +++ b/.github/workflows/unit-test-engine.yml @@ -62,7 +62,7 @@ jobs: with: submodules: "recursive" ref: ${{ matrix.test_branch }} - fetch-tags: true + fetch-depth: 0 - name: Docker Build run: |