Skip to content

Commit 2f6db61

Browse files
committed
fix: add if to all steps as per action repo
1 parent f01ee87 commit 2f6db61

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/lint-test.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,20 @@ jobs:
3333
fi
3434
3535
- name: Run chart-testing (lint)
36-
run: ct lint
36+
if: steps.list-changed.outputs.changed == 'true'
37+
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
3738

3839
- name: Create kind cluster
39-
uses: helm/[email protected]
4040
if: steps.list-changed.outputs.changed == 'true'
41+
uses: helm/[email protected]
4142

4243
- name: Install LoadBalancer
44+
if: steps.list-changed.outputs.changed == 'true'
4345
run: |-
4446
kubectl config use-context kind-chart-testing
4547
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
4648
kubectl apply -f .github/metallb-configmap.yaml
4749
4850
- name: Run chart-testing (install)
49-
run: ct install
51+
if: steps.list-changed.outputs.changed == 'true'
52+
run: ct install --target-branch ${{ github.event.repository.default_branch }}

0 commit comments

Comments
 (0)