Skip to content

Commit

Permalink
fix command line option to --chart-dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuo-danswer committed Sep 5, 2024
1 parent 82bd7f4 commit 0988947
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-helm-chart-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ jobs:
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --charts ./deployment/helm --target-branch ${{ github.event.repository.default_branch }})
changed=$(ct list-changed --chart-dirs ./deployment/helm --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --charts ./deployment/helm --target-branch ${{ github.event.repository.default_branch }}
run: ct lint --chart-dirs ./deployment/helm --target-branch ${{ github.event.repository.default_branch }}

- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/[email protected]

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --charts ./deployment/helm --target-branch ${{ github.event.repository.default_branch }}
run: ct install --chart-dirs ./deployment/helm --target-branch ${{ github.event.repository.default_branch }}

0 comments on commit 0988947

Please sign in to comment.