From 0e223c8c6969df80bc8648d128910c609b92fab9 Mon Sep 17 00:00:00 2001 From: aynsix Date: Wed, 6 Nov 2024 15:30:38 +0300 Subject: [PATCH] fix --- .github/workflows/build_base.yaml | 8 +++++++- .github/workflows/ci.yaml | 12 ------------ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build_base.yaml b/.github/workflows/build_base.yaml index faa135d22..d0a7796cc 100644 --- a/.github/workflows/build_base.yaml +++ b/.github/workflows/build_base.yaml @@ -25,7 +25,13 @@ jobs: if: ${{ github.repository_owner == 'alchemy-fr' }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + fetch-depth: 30 + + - name: Get git log + if: "${{ inputs.image == 'dashboard' }}" + run: bin/git-log.sh - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fbb5ddb88..e57a97647 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -193,18 +193,6 @@ jobs: needs: - build_nodejs-base - get_git_log: - name: 'Get git log' - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 30 - - - name: Get git log - run: bin/git-log.sh - setup: name: 'Setup stack' runs-on: ubuntu-latest