Merge pull request #13 from zazuko/dependabot/github_actions/losisin/… #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Charts | |
on: | |
push: | |
jobs: | |
lint: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Install Helm dependencies | |
run: | | |
# Add the Zazuko Helm repository | |
helm repo add zazuko https://charts.zazuko.com | |
# Iterate over all charts in the zazuko directory | |
for chart in zazuko/*; do | |
echo "- ${chart}" | |
helm dependency update "${chart}" | |
echo "" | |
done | |
- name: Lint Helm Charts | |
run: | | |
helm lint zazuko/* |