From f5c62af1c9153a26b42fef8885224eb21539e3bd Mon Sep 17 00:00:00 2001 From: JonJagger Date: Mon, 9 Sep 2024 09:51:24 +0100 Subject: [PATCH] CI: in checkout steps set fetch-depth to 1 --- .github/workflows/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a16d561..6cc86bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,8 @@ jobs: image_name: ${{ steps.variables.outputs.image_name }} steps: - uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Set outputs id: variables @@ -41,6 +43,8 @@ jobs: pull-requests: read steps: - uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Setup Kosli CLI uses: kosli-dev/setup-cli-action@v2 @@ -63,6 +67,8 @@ jobs: kosli_fingerprint: ${{ steps.variables.outputs.kosli_fingerprint }} steps: - uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Build image run: @@ -101,6 +107,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Setup Kosli CLI uses: kosli-dev/setup-cli-action@v2 @@ -138,6 +146,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Setup Kosli CLI uses: kosli-dev/setup-cli-action@v2 @@ -272,6 +282,8 @@ jobs: IMAGE_NAME: ${{ needs.kosli-trail.outputs.image_name }} steps: - uses: actions/checkout@v4 + with: + fetch-depth: 1 - uses: docker/login-action@v3 with: