Skip to content

feat: enable and install CLM castai-live helm chart on AKS #26

feat: enable and install CLM castai-live helm chart on AKS

feat: enable and install CLM castai-live helm chart on AKS #26

name: Documentation Check
on:
pull_request:
branches:
- main
jobs:
check_readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate documentation
uses: terraform-docs/gh-actions@v1.4.1
with:
working-dir: .
output-file: README.md
fail-on-diff: false
- name: Check for uncommitted changes
run: |
git status
if [ -n "$(git status --porcelain)" ]; then
echo "::error::README.md is not up-to-date. Run 'make generate-doc' locally and commit the changes."
echo ""
echo "Changes needed:"
git diff HEAD
exit 1
fi
echo "README.md is up-to-date!"