Repository navigation
Conversation
PR Summary by Qodofix(ci): pin helm-docs to v1.15.1 and regenerate chart READMEs
AI Description
Merge Risk
|
…EADMEs Pre-commit started failing on unrelated PRs on Dec 1, 2026: the CI workflows installed helm-docs with @latest, and helm-docs v1.15.0 (norwoodj/helm-docs#296) changed the Maintainers table header from `Url` to `URL`, so the helm-docs hook rewrote every chart README. - Switch the pre-commit hook from `helm-docs` (language: script, which just wraps whatever binary is on PATH) to `helm-docs-built` (language: golang), and bump the repo rev to v1.15.1. pre-commit now builds the pinned helm-docs version itself, so no manual installation is needed and the generated output cannot drift with @latest. - Drop the manual `go install ...@latest` steps from pre-commit.yaml, bump-version.yaml and sync-lightspeed-configs.yaml (setup-go stays, pre-commit needs it to build the hook). - Regenerate the chart READMEs with helm-docs v1.15.1 (Url -> URL, plus trailing-newline normalization). - Ignore the deprecated backstage chart entirely: exclude it from the pre-commit hook and skip it in helm-docs via .helmdocsignore, so its README stays frozen and it is never re-released. - Patch-bump the remaining charts so chart-releaser publishes the regenerated READMEs: rhdh 3.5.21, must-gather 0.8.4, orchestrator-infra 0.8.5, orchestrator-software-templates 0.7.1, orchestrator-software-templates-infra 0.6.1. Assisted-by: OpenCode
c083b31 to
87be1bd
Compare
|
Important The |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #829 +/- ##
=======================================
Coverage 75.93% 75.93%
=======================================
Files 22 22
Lines 1467 1467
Branches 117 117
=======================================
Hits 1114 1114
Misses 353 353
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|



Description of the change
Fixes the Pre-commit CI failures that started hitting every PR on Dec 1, 2026.
Root cause: the workflows installed helm-docs with
go install ...@latest, and helm-docs v1.15.0 (norwoodj/helm-docs#296) changed the generated Maintainers table header fromUrltoURL. The helm-docs hook therefore rewrote every chart README on every PR, including completely unrelated ones (e.g. #827).helm-docs(language: script— it just wraps whateverhelm-docsbinary is on PATH, which is why the unpinned CI install bit us) tohelm-docs-built(language: golang) at rev v1.15.1: pre-commit now builds the pinned helm-docs version itself, so no manual installation is needed and the generated output cannot drift with@latest. Future helm-docs bumps now show their README impact in the bump PR itself.go install ...@lateststeps frompre-commit.yaml,bump-version.yamlandsync-lightspeed-configs.yaml(setup-gostays — pre-commit needs it to build the hook).Url→URL, plus trailing-newline normalization).backstagechart entirely:exclude:on the pre-commit hook plus.helmdocsignore, so its README stays frozen and it is never re-released.Which issue(s) does this PR fix or relate to
How to test changes / Special notes to the reviewer
pre-commit run --all-filespasses locally with nohelm-docsbinary on PATH (pre-commit builds v1.15.1 itself), and is idempotent — a second run produces no diff.backstagechart keeps its original README and version (7.0.99): it is excluded from both the hook and helm-docs via.helmdocsignore.Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Runpre-commit run --all-filesto run the hooks and then push any resulting changes. The Pre-commit Workflow will enforce this and warn you if needed.pre-commithook. (No schema changes were needed; thejsonschema-dereferencehook ran clean.)ct lintcommand. (Not run locally; changes are version bumps and generated docs only.)