Skip to content

Syntax fix

Syntax fix #81

Workflow file for this run

name: charts/all
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch default branch
run: git fetch origin ${{ github.event.repository.default_branch }}:${{ github.event.repository.default_branch }}
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.13.0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.0
with:
version: "v3.10.0"
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ct.yaml --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
--config ct.yaml
--target-branch ${{ github.event.repository.default_branch }}