File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- remote : origin/master
32chart-dirs :
43 - charts
54chart-repos :
Original file line number Diff line number Diff line change @@ -40,14 +40,14 @@ jobs:
4040 - name : Run chart-testing (list-changed)
4141 id : list-changed
4242 run : |
43- changed=$(ct list-changed --config .ci/ct.yaml)
43+ changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }} -- config .ci/ct.yaml)
4444 if [[ -n "$changed" ]]; then
4545 echo "::set-output name=changed::true"
4646 fi
4747
4848 - name : Run chart-testing (lint)
4949 id : lint
50- run : ct lint --config .ci/ct.yaml
50+ run : ct lint --target-branch ${{ github.event.repository.default_branch }} -- config .ci/ct.yaml
5151
5252 - name : Create kind cluster
5353 uses : helm/kind-action@v1.12.0
6767 if : steps.list-changed.outputs.changed == 'true'
6868
6969 - name : Run chart-testing (install)
70- run : ct install --config .ci/ct.yaml
70+ run : ct install --target-branch ${{ github.event.repository.default_branch }} -- config .ci/ct.yaml
7171 # Only install if there are chart changes to test.
7272 if : steps.list-changed.outputs.changed == 'true'
You can’t perform that action at this time.
0 commit comments