From d75ee44fefc19dc0ca530095401e5fb0c8d46a09 Mon Sep 17 00:00:00 2001 From: OAharoni-RedHat Date: Thu, 9 Jul 2026 16:23:02 -0400 Subject: [PATCH] add new helm-docs checker --- .github/workflows/helm-docs.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/helm-docs.yaml diff --git a/.github/workflows/helm-docs.yaml b/.github/workflows/helm-docs.yaml new file mode 100644 index 0000000..31b25e6 --- /dev/null +++ b/.github/workflows/helm-docs.yaml @@ -0,0 +1,32 @@ +name: helm-docs + +on: + pull_request: + branches: + - main + +permissions: + contents: read + +jobs: + helm-docs: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + persist-credentials: false + + - name: Run helm-docs + run: make helm-docs + + - name: Check README is up to date + run: | + if ! git diff --quiet README.md; then + echo "README.md is out of date. Run helm-docs locally and commit the updated file." + echo "" + git diff README.md + exit 1 + fi + echo "README.md is up to date."