Skip to content

Setup Argo CD Image Updater base values #128

Setup Argo CD Image Updater base values

Setup Argo CD Image Updater base values #128

Workflow file for this run

---
name: Lint
on:
pull_request:
paths:
- 'charts/**'
push:
paths:
- 'charts/**'
workflow_dispatch:
jobs:
lint:
name: Lint Helm charts
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Set up Helm
uses: Azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
with:
version: 'v3.13.1'
- name: Set up Python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: '3.12'
check-latest: true
- name: Set up chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- 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)
if: steps.list-changed.outputs.changed == 'true'
env:
CT_CHECK_VERSION_INCREMENT: false
run: ct lint --target-branch ${{ github.event.repository.default_branch }}