File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ jobs:
3232 - name : Fetch history
3333 run : git fetch --prune --unshallow
3434 - name : Set up chart-testing
35- uses : helm/chart-testing-action@v2.6.1
35+ uses : helm/chart-testing-action@v2.7.0
3636 - name : Run chart-testing (lint)
37- run : ct lint
37+ run : ct lint --target-branch ${{ github.event.pull_request.base.ref }}
3838 # Only build a kind cluster if there are chart changes to test.
3939 - name : Run chart-testing (list-changed)
4040 id : list-changed
4141 run : |
42- changed=$(ct list-changed)
42+ changed=$(ct list-changed --target-branch ${{ github.event.pull_request.base.ref }} )
4343 if [[ -n "$changed" ]]; then
4444 echo "changed=true" >> $GITHUB_OUTPUT
4545 fi
48484949 - if : steps.list-changed.outputs.changed == 'true'
5050 name : Run chart-testing (install)
51- run : ct install
51+ run : ct install --target-branch ${{ github.event.pull_request.base.ref }}
5252 helm-docs-validate :
5353 if : ${{ needs.changes.outputs.charts == 'true' }}
5454 name : Helm Docs
You can’t perform that action at this time.
0 commit comments