File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3939 - name : Check for changes
4040 id : changes
4141 run : |
42- changed="$(ct list-changed --target-branch=master )"
42+ changed="$(ct list-changed --target-branch ${{ github.event.repository.default_branch }} )"
4343 if [[ -n "${changed}" ]]
4444 then
4545 echo "changed=true" >> "${GITHUB_OUTPUT}"
7878
7979 - name : Run chart-testing lint
8080 if : steps.changes.outputs.changed == 'true'
81- run : ct lint --target-branch=master -- check-version-increment=false
81+ run : ct lint --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }}
8282
8383 - name : Create Kind cluster
8484 if : steps.changes.outputs.changed == 'true'
@@ -120,4 +120,4 @@ jobs:
120120
121121 - name : Run chart-testing install
122122 if : steps.changes.outputs.changed == 'true'
123- run : ct install --target-branch=master --namespace kube-system
123+ run : ct install --target-branch ${{ github.event.repository.default_branch }} --namespace kube-system
You can’t perform that action at this time.
0 commit comments