Skip to content

Fixing securityContext values injection. #270

Fixing securityContext values injection.

Fixing securityContext values injection. #270

Workflow file for this run

name: Lint and Test Charts
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v4
- name: Add helm dependencies
run: |
helm repo add bitnami "https://charts.bitnami.com/bitnami"
- uses: actions/setup-python@v2
with:
python-version: "<4.0.0"
- name: Set up chart-testing
uses: helm/chart-testing-action@v2
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch main)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch main