The `charts` directory is ignored by git, so a fresh checkout does not contain the postgresql, postgresql-ha and valkey sub-charts. Locally the workflow appeared to work because `make helm/dependency-update` had populated the directory at some earlier point. Without the sub-charts every suite that asserts on a dependency template failed with "document index 0 is out of range" and "template gitea/charts/postgresql/templates/primary/svc.yaml not exists or not selected in test suite". `helm lint` was affected for the same reason. `helm dependency build` is used instead of `helm dependency update`, because `Chart.lock` is committed and the pinned versions should be resolved reproducibly rather than refreshed on every run. Co-authored-by: Copilot <copilot@github.com>