Only lint charts on Pull Requests

This commit is contained in:
Martina Iglesias Fernandez
2020-10-09 08:31:05 +02:00
parent dd5be710f5
commit 001fd7c57a
-12
View File
@@ -18,15 +18,3 @@ jobs:
with:
command: lint
config: ct.yaml
- name: Create kind cluster
uses: helm/kind-action@v1.0.0
# Only build a kind cluster if there are chart changes to test.
if: steps.lint.outputs.changed == 'true'
- name: Install charts
uses: helm/chart-testing-action@v1.1.0
if: steps.lint.outputs.changed == 'true'
with:
command: install
config: ct.yaml