diff --git a/.github/workflows/helm-charts-test.yaml b/.github/workflows/helm-charts-test.yaml index a7ed550..e1f2ba8 100644 --- a/.github/workflows/helm-charts-test.yaml +++ b/.github/workflows/helm-charts-test.yaml @@ -14,7 +14,7 @@ jobs: uses: helm/chart-testing-action@v2.6.1 - name: Lint charts id: lint - run: ct lint --all + run: ct lint --all --target-branch ${{ github.event.repository.default_branch }} test: runs-on: ubuntu-latest @@ -43,4 +43,4 @@ jobs: - name: Install Chart Tester uses: helm/chart-testing-action@v2.6.1 - name: Test charts - run: ct install + run: ct install --config ct.yaml --target-branch ${{ github.event.repository.default_branch }} diff --git a/ct.yaml b/ct.yaml index c1f7f3c..0b44e8b 100644 --- a/ct.yaml +++ b/ct.yaml @@ -1,5 +1,4 @@ remote: origin -target-branch: main chart-dirs: - charts chart-repos: