Skip to content

Commit f037447

Browse files
committed
Update helm-docs & improve output
Signed-off-by: Kaita Nakamura <[email protected]>
1 parent 565028f commit f037447

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/pr.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,14 @@ jobs:
5959
- name: Checkout
6060
uses: actions/[email protected]
6161
- name: Run helm-docs
62-
uses: docker://jnorwood/helm-docs:v1.3.0
62+
uses: docker://jnorwood/helm-docs:v1.14.2
6363
- name: Check for changes
64-
run: git diff --quiet charts/*/README.md
64+
run: |
65+
if ! git diff --exit-code charts/*/README.md; then
66+
echo "ERROR: Helm chart README.md files are out of date"
67+
echo "Run from charts/: docker run --rm --volume \"\$(pwd):/helm-docs\" -u \$(id -u) jnorwood/helm-docs:v1.14.2"
68+
exit 1
69+
fi
6570
6671
name: Lint and Test Charts
6772
on: pull_request

charts/vertical-pod-autoscaler/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
1515

1616
| Name | Email | Url |
1717
| ---- | ------ | --- |
18-
| adrianmoisey | [email protected] | |
19-
| omerap12 | [email protected] | |
18+
| adrianmoisey | <[email protected]> | |
19+
| omerap12 | <[email protected]> | |
2020

2121
## Values
2222

0 commit comments

Comments
 (0)