Skip to content

Commit

Permalink
move ct-config.yaml to root
Browse files Browse the repository at this point in the history
Because it was in the charts directory, the ct tool assumed the charts directory
was also a chart but was invalid. ct will look at diffs under the charts
directory, and since there was a new file there, it assumed it was a new chart.
  • Loading branch information
ardelato committed Feb 7, 2024
1 parent 0f4fd49 commit 46ef1a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ./charts/ct-config.yaml)
changed=$(ct list-changed --config ./ct-config.yaml)
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 --config ./charts/ct-config.yaml
run: ct lint --config ./ct-config.yaml

- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@v1.8.0

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --config ./charts/ct-config.yaml
run: ct install --config ./ct-config.yaml
File renamed without changes.

0 comments on commit 46ef1a1

Please sign in to comment.