feat: add helm-docs check

This commit is contained in:
Oliver Bähler
2022-08-19 16:04:24 +02:00
committed by Dario Tranchitella
parent 9a1520ff66
commit 2771b63c18
4 changed files with 14 additions and 3 deletions

View File

@@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: Chat on Slack
url: https://kubernetes.slack.com/archives/C03GETTJQRL
about: Maybe chatting with the community can help
about: Maybe chatting with the community can help

View File

@@ -7,4 +7,4 @@ validate-chart-schema: false
validate-maintainers: false
validate-yaml: true
exclude-deprecated: true
check-version-increment: false
check-version-increment: false

View File

@@ -40,4 +40,4 @@ rules:
type: unix
trailing-spaces: enable
truthy:
level: warning
level: warning

View File

@@ -31,6 +31,17 @@ jobs:
fi
- name: Run chart-testing (lint)
run: ct lint --debug --config ./.github/configs/ct.yaml --lint-conf ./.github/configs/lintconf.yaml
- name: Run docs-testing (helm-docs)
id: helm-docs
run: |
make helm-docs
if [[ $(git diff --stat) != '' ]]; then
echo -e '\033[0;31mDocumentation outdated! (Run make helm-docs locally and commit)\033[0m ❌'
git diff --color
exit 1
else
echo -e '\033[0;32mDocumentation up to date\033[0m ✔'
fi
# Create KIND Cluster
- name: Create kind cluster
uses: helm/kind-action@v1.2.0