From 55d2de15d9ba22e3ce3177a859e6d5eb12ec4c57 Mon Sep 17 00:00:00 2001 From: Aarushi Date: Mon, 29 Jul 2024 12:55:09 +0100 Subject: [PATCH] fix refs head --- .github/workflows/autogpt-infra-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autogpt-infra-ci.yml b/.github/workflows/autogpt-infra-ci.yml index d8d7e8302f..e38a79d5fd 100644 --- a/.github/workflows/autogpt-infra-ci.yml +++ b/.github/workflows/autogpt-infra-ci.yml @@ -44,11 +44,11 @@ jobs: - name: Run chart-testing (list-changed) id: list-changed run: | - changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) + changed=$(ct list-changed --target-branch refs/heads/${{ github.event.repository.default_branch }}) 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 ${{ github.event.repository.default_branch }} + run: ct lint --target-branch refs/heads/$${{ github.event.repository.default_branch }}