File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,19 @@ jobs:
2929 - name : Run chart-testing (list-changed)
3030 id : list-changed
3131 run : |
32- changed=$(ct list-changed --config ct.yaml )
32+ changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }} )
3333 if [[ -n "$changed" ]]; then
34- echo "::set-output name= changed:: true"
34+ echo "changed= true" >> "$GITHUB_OUTPUT "
3535 fi
3636
3737 - name : Run chart-testing (lint)
38- run : ct lint --config ct.yaml
38+ if : steps.list-changed.outputs.changed == 'true'
39+ run : ct lint --target-branch ${{ github.event.repository.default_branch }}
3940
4041 - name : Create kind cluster
41- 4242 if : steps.list-changed.outputs.changed == 'true'
43+ 4344
4445 - name : Run chart-testing (install)
45- run : ct install --config ct.yaml
46+ if : steps.list-changed.outputs.changed == 'true'
47+ run : ct install --target-branch ${{ github.event.repository.default_branch }}
You can’t perform that action at this time.
0 commit comments