chore: Add test change to values.yaml #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Helm Lint | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- i-56/feat/ci-helm-lint | |
# pull_request: | |
# types: | |
# - closed | |
# branches: | |
# - main | |
# paths: | |
# - '**/*.yaml' | |
# - '**/templates/*.tpl' | |
# - '**/templates/*.yaml' | |
# - '**/**/templates/*.yaml' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.12.1 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
check-latest: true | |
- name: Setup chart-testing | |
uses: helm/[email protected] | |
- name: List changed helm charts | |
run: | | |
changed=$(ct list-changed --target-branch i-56/feat/ci-helm-lint) | |
# changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | |
if [[ -n "$changed" ]]; then | |
echo "changed=true" >> "$GITHUB_OUTPUT" | |
fi | |
- name: Run Helm lint to changed charts | |
if: steps.list-changed.outputs.changed == 'true' | |
run: ct lint --target-branch i-56/feat/ci-helm-lint |