ci: lint ct, specify main branch

This commit is contained in:
jamesread
2024-09-13 19:31:01 +01:00
parent 2ef9c3b54f
commit 2ddeef4b66
+2 -2
View File
@@ -50,14 +50,14 @@ jobs:
fi fi
- name: Run chart-testing (lint) - 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 - name: Create kind cluster
uses: helm/kind-action@v1.10.0 uses: helm/kind-action@v1.10.0
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install) - 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: publish:
needs: lint-test needs: lint-test