ci: should now be able to publish helm from release workflow#2212
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions release pipeline so Helm chart publishing can be invoked as a reusable workflow (via workflow_call) and chained from the Create Release workflow, while keeping existing release: published triggering behavior.
Changes:
- Added a
helm-publishjob torelease.ymlthat calls thehelm-publish.ymlreusable workflow after a successful semantic-release. - Enhanced
helm-publish.ymlwithworkflow_callinputs/secrets and tag selection logic to support reuse. - Added a fallback for the GitHub Pages repo index URL construction.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | Calls the Helm publish workflow after semantic-release when a new release is published. |
| .github/workflows/helm-publish.yml | Adds workflow_call support and makes tag/url selection more flexible for different invocation contexts. |
dragosp1011
approved these changes
Jun 19, 2026
|
🎉 This PR is included in version 0.4.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Github prevents firing of workflow events if the release is created using the normal GITHUB_TOKEN mechanism. This is an anti-loop protection mechanism which now preveted our helm chart releases from publishing.
This PR attempts to resolve this issue with a workaround calling the helm publishing workflow directly during release process.
Auto generated
This pull request updates the Helm chart publishing workflow to support both manual and automated triggers, and improves flexibility in how release information is passed between workflows. The main changes add support for workflow calls, allow dynamic tag and repository name handling, and integrate the Helm publish workflow into the main release process.
Workflow enhancements and integration:
helm-publishworkflow viaworkflow_callwith requiredtag_nameinput andHELM_PUBLISH_TOKENsecret, enabling reuse and manual invocation.helm-publishworkflow into the mainrelease.ymlpipeline, so Helm charts are published automatically after a new release is published. The workflow is triggered with the new release version as the tag.Parameter and flexibility improvements:
inputs.tag_nameif provided, falling back togithub.event.release.tag_namefor backward compatibility.'testnet') ifgithub.event.repository.nameis not set, improving robustness for different invocation contexts.