Repository navigation
Conversation
… helm dependencies
… tags on container comments
There was a problem hiding this comment.
🟡 Changes recommended
Critical workflow defects can prevent release jobs from starting, allow existing chart versions to be overwritten, and leave unsigned releases unrepairable through reruns.
4 open issues
What changed in this PR
Adds automated validation and a manual signed-release pipeline for the repository’s Helm charts.
Changes:
- Adds chart linting, example-value rendering, and manifest validation.
- Introduces main-only GHCR releases with Cosign signing and dry-run enabled by default.
- Shares Helm setup across workflows and normalizes values-file formatting.
| File | Description |
|---|---|
helm/wallet/values.yaml |
Removes trailing whitespace and adds a final newline. |
helm/issuer-wallet/values.yaml |
Removes trailing whitespace and adds a final newline. |
helm/constructx-connector/values.yaml |
Normalizes indentation, whitespace, and final newline. |
.github/workflows/helm-release.yaml |
Adds manual packaging, GHCR publishing, and signing. |
.github/workflows/helm-pr-checks.yaml |
Checks changed charts and warns about unchanged versions. |
.github/workflows/helm-checks.yaml |
Adds push-triggered linting and manifest validation. |
.github/actions/helm-setup/action.yaml |
Shares chart discovery, dependency setup, and lint configuration. |
Review effort: Balanced
| prepare: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| charts: ${{ steps.list.outputs.charts }} |
| run: echo "::error::No valid Helm chart found for selection '${{ inputs.chart }}'" && exit 1 | ||
|
|
||
| release: | ||
| needs: prepare |
| VERSION=$(yq .version "$CHART_DIR/Chart.yaml") | ||
| echo "name=$NAME" >> "$GITHUB_OUTPUT" | ||
| echo "version=$VERSION" >> "$GITHUB_OUTPUT" | ||
| if helm show chart "oci://$REGISTRY/$NAME" --version "$VERSION" >/dev/null 2>&1; then |
|
|
||
| # Sign the digest and verify the signature against the identity of this workflow | ||
| - name: Sign and verify | ||
| if: steps.push.outcome == 'success' |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

WHAT
Adds CI workflows for the Helm charts in
helm/:helm-release.yaml: Manually triggered release (workflow_dispatch), restricted tomain. Packages the selected chart(s) (or all), pushes them as OCI artifacts toghcr.io/project-construct-x/chartsand signs the pushed digest keyless with Cosign. Existing versions are skipped, never overwritten. Dry run is enabled by default.helm-checks.yaml: Runs on pushes to feature branches that touchhelm/. Runsyamllint,ct lintandkubeconform. Charts are linted and rendered once pervalues-*-example.yaml, or with the chart defaults if a chart has no example values.helm-pr-checks.yaml: Runs on pull requests that touchhelm/. Runsct linton the changed charts only, using eachvalues-*-example.yamlas a test case. A missing version bump produces a warning..github/actions/helm-setup: Composite action shared by all workflows. It installs Helm, detects valid chart directories (folders with aChart.yaml), provides the sharedyamllintconfig, adds the dependency repositories, builds the dependencies and prepares the example values forct.What the tools check:
yamllint: Style and syntax of all plain YAML files inhelm/(Chart.yaml,values.yaml, example values). Templates are excluded.ct lint: Validates theChart.yamlschema and runshelm lintonce per example values file. Checks that the chart structure is valid and the templates render.kubeconform: Validates the rendered manifests against the Kubernetes and CRD schemas.WHY
main. The trigger stays manual so we decide what gets released.main.FURTHER NOTES
values-*-example.yaml, placed next tovalues.yaml.helm/without aChart.yamlare ignored.single-nodeis listed as a release option but currently has noChart.yaml.ghcr.io/project-construct-x/dev/charts/workflow-test. The test packages and test workflow runs are removed after merge.Verifying a released chart:
Linked Issue(s)