ci: lint ct, specify main branch
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user