forked from argoproj/argo-helm
fix: Workaround helm-docs v1.10.0 breaking change (#1285)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>main
parent
57e1cd6960
commit
20924aced3
|
@ -37,10 +37,16 @@ jobs:
|
|||
run: ct lint --debug --config ./.github/configs/ct-lint.yaml --lint-conf ./.github/configs/lintconf.yaml
|
||||
|
||||
- name: Run docs-testing (helm-docs)
|
||||
uses: buttahtoast/helm-release-action@v2.0.1
|
||||
with:
|
||||
charts: "${{ steps.list-changed.outputs.changed_charts }}"
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
id: helm-docs
|
||||
run: |
|
||||
./scripts/helm-docs.sh
|
||||
if [[ $(git diff --stat) != '' ]]; then
|
||||
echo -e '\033[0;31mDocumentation outdated!\033[0m ❌'
|
||||
git diff --color
|
||||
exit 1
|
||||
else
|
||||
echo -e '\033[0;32mDocumentation up to date\033[0m ✔'
|
||||
fi
|
||||
|
||||
- name: Create kind cluster
|
||||
uses: helm/kind-action@v1.2.0
|
||||
|
|
|
@ -8,4 +8,4 @@ echo "Running Helm-Docs"
|
|||
docker run \
|
||||
-v "$CHART_DIR:/helm-docs" \
|
||||
-u $(id -u) \
|
||||
jnorwood/helm-docs:latest
|
||||
jnorwood/helm-docs:v1.9.1
|
||||
|
|
Loading…
Reference in New Issue