Skip to content

[installation-wizard/container-storage-modules] Adding dependabot compatibility for installation-wizard charts #983

[installation-wizard/container-storage-modules] Adding dependabot compatibility for installation-wizard charts

[installation-wizard/container-storage-modules] Adding dependabot compatibility for installation-wizard charts #983

# This action checks the Helm Chart changes for linting
name: helm-validations
# Check runs on PRs created to merge to main branch
on:
pull_request:
branches:
- main
- release-v*
jobs:
# This job will run helm lint on updated charts
lint:
name: CSM Chart Linter
runs-on: ubuntu-latest
steps:
# Check out the repo
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up Helm
uses: azure/[email protected]
with:
version: latest
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install chart-testing-action
uses: helm/[email protected]
- name: Run chart-testing list-changed
id: modified-charts
run: |
modified=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$modified" ]]; then
echo "modified=true" >> "$GITHUB_OUTPUT"
fi
# disabling step temporarily to have more time to look into "chart metadata is missing these dependencies" error
# - name: Run chart-testing linter
# if: steps.modified-charts.outputs.modified == 'true'
# run: ct lint --config ct.yaml