From d3425fe05eea67e347e3d2575aee133964a593d5 Mon Sep 17 00:00:00 2001 From: Aarushi Date: Mon, 29 Jul 2024 13:33:44 +0100 Subject: [PATCH] hardcode master --- .github/workflows/autogpt-infra-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autogpt-infra-ci.yml b/.github/workflows/autogpt-infra-ci.yml index 30ce60463c..ecccd780a6 100644 --- a/.github/workflows/autogpt-infra-ci.yml +++ b/.github/workflows/autogpt-infra-ci.yml @@ -47,8 +47,7 @@ jobs: - name: Run chart-testing (list-changed) id: list-changed run: | - branch="${{ github.event.repository.default_branch }}" - changed=$(ct list-changed --target-branch "${branch#origin/}") + changed=$(ct list-changed --target-branch master) if [[ -n "$changed" ]]; then echo "changed=true" >> "$GITHUB_OUTPUT" fi @@ -56,5 +55,4 @@ jobs: - name: Run chart-testing (lint) if: steps.list-changed.outputs.changed == 'true' run: | - branch="${{ github.event.repository.default_branch }}" - ct lint --target-branch "${branch#origin/}" + ct lint --target-branch master