From cd9c85aabb3fa2a55318b141a2fb580222e273ca Mon Sep 17 00:00:00 2001 From: Aarushi Date: Mon, 29 Jul 2024 13:39:07 +0100 Subject: [PATCH] add fetch depth --- .github/workflows/autogpt-infra-ci.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/autogpt-infra-ci.yml b/.github/workflows/autogpt-infra-ci.yml index ecccd780a6..790dd4dadd 100644 --- a/.github/workflows/autogpt-infra-ci.yml +++ b/.github/workflows/autogpt-infra-ci.yml @@ -23,6 +23,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: TFLint uses: pauloconnor/tflint-action@v0.0.2 @@ -44,15 +46,6 @@ jobs: - name: Set up chart-testing uses: helm/chart-testing-action@v2.6.0 - - name: Run chart-testing (list-changed) - id: list-changed - run: | - changed=$(ct list-changed --target-branch master) - if [[ -n "$changed" ]]; then - echo "changed=true" >> "$GITHUB_OUTPUT" - fi - - name: Run chart-testing (lint) - if: steps.list-changed.outputs.changed == 'true' run: | ct lint --target-branch master