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 }}