Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/dockerfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,22 @@ jobs:
id: list-changed
run: |
changed=$(ct list-changed --chart-dirs kubernetes/chart \
--target-branch ${{ github.event.repository.default_branch }})
--target-branch "$DEFAULT_BRANCH")
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}

- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: |
ct lint --github-groups \
--chart-dirs kubernetes/chart \
--target-branch ${{ github.event.repository.default_branch }} \
--target-branch "$DEFAULT_BRANCH" \
--lint-conf lintconf.yaml
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}

- name: Create kind cluster
uses: helm/kind-action@v1
Expand Down
Loading