From 2ddeef4b661573f6743161c77bbd43ff8f7c67e3 Mon Sep 17 00:00:00 2001 From: jamesread Date: Fri, 13 Sep 2024 19:31:01 +0100 Subject: [PATCH] ci: lint ct, specify main branch --- .github/workflows/helm-chart-ci-cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-chart-ci-cd.yml b/.github/workflows/helm-chart-ci-cd.yml index 7d22b2e..9e2d2d4 100644 --- a/.github/workflows/helm-chart-ci-cd.yml +++ b/.github/workflows/helm-chart-ci-cd.yml @@ -50,14 +50,14 @@ jobs: fi - name: Run chart-testing (lint) - run: ct lint --config ct.yaml + run: ct lint --config ct.yaml --target-branch ${{ github.event.repository.default_branch }} - name: Create kind cluster uses: helm/kind-action@v1.10.0 if: steps.list-changed.outputs.changed == 'true' - name: Run chart-testing (install) - run: ct install --config ct.yaml + run: ct install --config ct.yaml --target-branch ${{ github.event.repository.default_branch }} publish: needs: lint-test