Skip to content

Rename dependabot.yaml to dependabot.yml #85

Rename dependabot.yaml to dependabot.yml

Rename dependabot.yaml to dependabot.yml #85

Workflow file for this run

name: Test Chart
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
paths:
- "charts/**"
- ".github/workflows/**"
jobs:
test:
name: Test Helm Chart
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v4
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint)
run: ct lint --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }}
- name: Create kind cluster
uses: helm/[email protected]
if: github.ref == 'refs/heads/main' || steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
id: chart-install
run: ct install --remote origin --all
if: github.ref == 'refs/heads/main' || steps.list-changed.outputs.changed == 'true'