refactor(component-release): remove git-flow and RDKCM_RDKE secret, release directly on feature/component-release#504
Merged
yogeswaransky merged 4 commits intoApr 11, 2026
Conversation
…ease push Agent-Logs-Url: https://github.com/rdkcentral/sysint/sessions/8bf009fe-8528-4cd9-9c28-143853dabc1a Co-authored-by: yogeswaransky <166126056+yogeswaransky@users.noreply.github.com>
Agent-Logs-Url: https://github.com/rdkcentral/sysint/sessions/8bf009fe-8528-4cd9-9c28-143853dabc1a Co-authored-by: yogeswaransky <166126056+yogeswaransky@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update component release workflow to prevent unwanted merges
refactor(component-release): remove git-flow and RDKCM_RDKE secret, release directly on feature/component-release
Apr 11, 2026
…th and shell injection Agent-Logs-Url: https://github.com/rdkcentral/sysint/sessions/050a584a-0da6-4e4c-8cd5-035fba1be6d2 Co-authored-by: yogeswaransky <166126056+yogeswaransky@users.noreply.github.com>
yogeswaransky
approved these changes
Apr 11, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
release start,release publish,release finish) in the workflowfeature/component-releaseas both master and develop branchactions/checkout@v3withref: feature/component-releaseandfetch-depth: 0(fixes the RDKCM_RDKE auth failure)feature/component-releaseand tags (no main/develop)PR_DESCpassed viaenvblock (shell injection fix)RELEASE_VERSIONOriginal prompt
Problem
The current
.github/workflows/component-release.ymlworkflow usesgit-flowwhich automatically merges release branches intomainanddevelop. This is undesirable because:mainordevelop— the release should happen entirely on thefeature/component-releasebranch.RDKCM_RDKE) that is expired/invalid:${{ }}, which can break on special characters.Required Changes
Replace the entire contents of
.github/workflows/component-release.ymlwith the following:Summary of changes:
mainanddevelopbranches — no checkouts, no pushes, no git-flow config for those branches.git-flowentirely — no install, nogit flow release start/publish/finish. Everything happens onfeature/component-release.git clonewithRDKCM_RDKEsecret — useactions/checkout@v3withref: feature/component-releaseandfetch-depth: 0instead, which uses the built-inGITHUB_TOKENauto...This pull request was created from Copilot chat.