File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11name : Linting Charts
22
3- on :
4- push
3+ on : push
54
65jobs :
76 linting :
@@ -18,13 +17,13 @@ jobs:
1817 - name : Run chart-testing (lint-changed)
1918 id : list-changed
2019 run : |
21- changed=$(ct list-changed)
20+ changed=$(ct list-changed --target-branch master )
2221 if [[ -n "$changed" ]]; then
2322 echo "::set-output name=changed::true"
2423 fi
2524
2625 - name : Run chart-testing (lint)
27- run : ct lint
26+ run : ct lint --target-branch master
2827
2928 - name : ArtifactHUB Lint
3029 env :
3332 curl -LO https://github.com/artifacthub/hub/releases/download/v${AH_CLI_VERSION}/ah_${AH_CLI_VERSION}_linux_amd64.tar.gz
3433 tar xvzf ah_${AH_CLI_VERSION}_linux_amd64.tar.gz
3534 ./ah lint
36-
Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ jobs:
1717 - name : Run chart-testing (lint-changed)
1818 id : list-changed
1919 run : |
20- changed=$(ct list-changed)
20+ changed=$(ct list-changed --target-branch master )
2121 if [[ -n "$changed" ]]; then
2222 echo "::set-output name=changed::true"
2323 fi
2424
2525 - name : Run chart-testing (lint)
26- run : ct lint
26+ run : ct lint --target-branch master
2727
2828 - name : Create k8s Kind Cluster
2929 uses : helm/kind-action@v1.13.0
3939 helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true --wait
4040
4141 - name : Run chart-testing (install)
42- run : ct install --helm-extra-set-args "--set=kindtest=true"
42+ run : ct install --target-branch master -- helm-extra-set-args "--set=kindtest=true"
You can’t perform that action at this time.
0 commit comments