Skip to content

Commit

Permalink
Update lint_and_test_charts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tjungbauer committed Apr 22, 2024
1 parent cbc51c5 commit 628bf64
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint_and_test_charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,33 @@ jobs:
with:
python-version: 3.7

- name: Install Helm Docs
uses: action-stars/install-tool-from-github-release@9019d0a3125e2f45a48858afb632e6dbef663d79 # v0.2.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
owner: norwoodj
repository: helm-docs
arch_amd64: x86_64
os_linux: Linux
check_command: helm-docs --version
version: latest

- name: Run Helm Docs check XXXXXXX
run: |
#!/usr/bin/env bash
set -euo pipefail
for charts in `find . -name 'Chart.yaml' -type f | xargs -I{} dirname {}`; do
printf "\n\n##### CHECKING $charts #####\n";
done
helm-docs
if [[ -n "$(git status --porcelain --untracked-files=no)" ]]
then
echo "Documentation not up to date. Please run helm-docs and commit changes!" >&2
exit 1
fi
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1

Expand Down

0 comments on commit 628bf64

Please sign in to comment.