W-21616134: trigger CBW release after publishing extensions to marketplace#7011
Merged
Conversation
Add trigger-cbw-release job to publishVSCode.yml that fires a repository_dispatch event to forcedotcom/code-builder-web after extensions are successfully published. Fire-and-forget — does not block CTC close.
- Add repo variable check (default enabled, set false to disable) - Document in contributing/publishing.md
jonnyhork
commented
Mar 19, 2026
| # Default (unset): dispatch after publish. Use when publishing without CBW promotion. | ||
| trigger-cbw-release: | ||
| needs: [publish, prepare-environment-from-main] | ||
| if: needs.publish.result == 'success' && vars.CBW_TRIGGER_ENABLED != 'false' |
Contributor
Author
There was a problem hiding this comment.
If we ever want to publish to MS Marketplace without promoting CBW we can turn off the functionality by adding CBW_TRIGGER_ENABLED=false as a repo variable
kylewalke
approved these changes
Mar 20, 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 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.
Summary
trigger-cbw-releasejob topublishVSCode.ymlthat fires arepository_dispatchevent toforcedotcom/code-builder-webafter extensions are successfully published to the MS Marketplace.IDEE_GH_TOKEN(scope updated to includecode-builder-webrepo).Work item: @W-21616134@
Companion PR: In
forcedotcom/code-builder-web— adds thepromote-on-publish.ymlreceiver workflow andauto-promotesupport inrelease.yml.Test plan
trigger-cbw-releasejob runs afterpublishsucceeds and sends the dispatchIDEE_GH_TOKENhasreposcope onforcedotcom/code-builder-web