diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2b62388cb..57581aee5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -87,6 +87,8 @@ jobs: helm: runs-on: ubuntu-latest + env: + CT_CONFIG_DIR: ${{ github.workspace }} steps: - name: Checkout uses: actions/checkout@v6 @@ -103,10 +105,10 @@ jobs: uses: helm/chart-testing-action@v2.8.0 - name: Run chart-testing (lint) if: github.ref == 'refs/heads/master' - run: ct lint + run: ct lint --config ct.yaml - name: Run chart-testing (lint) if: github.ref != 'refs/heads/master' - run: ct lint --check-version-increment=false + run: ct lint --config ct.yaml --check-version-increment=false controller-image: runs-on: ubuntu-latest diff --git a/ct.yaml b/ct.yaml new file mode 100644 index 000000000..f490c56fe --- /dev/null +++ b/ct.yaml @@ -0,0 +1,3 @@ +chart-dirs: + - charts +target-branch: master