[src] Allow Network client run in specific namespace CON-20999 #374
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: Lint Charts | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- charts/** | |
pull_request: | |
paths: | |
- charts/** | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --config .github/ct.yaml) | |
if [[ -n "$changed" ]]; then | |
echo "::set-output name=changed::true" | |
fi | |
- name: Run chart-testing (lint) | |
id: lint | |
run: ct lint --config .github/ct.yaml | |
- uses: gabe565/[email protected] | |
with: | |
version: v1.13.1 | |
- run: helm-docs | |
- name: Check for changes in docs | |
run: git diff --exit-code || (echo "Docs are out of date. Please run 'make docs' and commit the changes." && exit 1) |