Skip to content

feat(kubernetes/devnet-2): bump tracoor version #83

feat(kubernetes/devnet-2): bump tracoor version

feat(kubernetes/devnet-2): bump tracoor version #83

Workflow file for this run

name: Helm lint
on:
pull_request:
paths:
- 'kubernetes/**'
- '.tool-versions'
- '.github/actions/**'
- '.github/workflows/lint-helm.yaml'
push:
branches:
- master
paths:
- 'kubernetes/**'
- '.tool-versions'
- '.github/actions/**'
- '.github/workflows/lint-helm.yaml'
jobs:
helm-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Check if kubernetes/*/* is not empty
id: check-kubernetes-directory
run: |
if [ "$(ls -A kubernetes/*/* 2>/dev/null)" ]; then
echo "Kubernetes directory is not empty."
echo "::set-output name=not_empty::true"
else
echo "Kubernetes directory is empty."
echo "::set-output name=not_empty::false"
fi
- name: Lint
run: |
if ${{ steps.check-kubernetes-directory.outputs.not_empty }}; then
helm lint kubernetes/*/*
else
echo "Skipping Helm lint because kubernetes/*/* is empty."
fi