Skip to content

Commit

Permalink
Add chart lint to the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Farnaz Babaeian committed Jul 24, 2024
1 parent 60139fc commit 3a780d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/chart-lints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ jobs:
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --chart-dirs=testdata --target-branch ${{ github.event.repository.default_branch }}

0 comments on commit 3a780d5

Please sign in to comment.