Skip to content

fix: update publishing workflow to support Open VSX Registry#309

Merged
gblanc-1a merged 2 commits into
AmadeusITGroup:mainfrom
mvgadagi:fix/openvsx
Jun 30, 2026
Merged

fix: update publishing workflow to support Open VSX Registry#309
gblanc-1a merged 2 commits into
AmadeusITGroup:mainfrom
mvgadagi:fix/openvsx

Conversation

@mvgadagi

@mvgadagi mvgadagi commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR enables publishing the VS Code extension to the Open VSX Registry alongside the existing VS Code Marketplace publishing workflow. It updates the secure publish workflow, adds package integrity checks, and updates the contributor documentation accordingly.

Changes

.github/workflows/vscode-extension-secure-publish.yml

  • Default target registries expanded: Changed the target_registries workflow input default from "vscode-marketplace" to "vscode-marketplace,open-vsx", so Open VSX publishing is enabled by default.
  • Open VSX job trigger condition updated: The publish-to-open-vsx job now also runs on release events (github.event_name == 'release'), not just when manually triggered with open-vsx in the target registries input.
  • Dynamic environment URL: Replaced the hardcoded extension URL with a dynamic one using ${{ env.EXTENSION_NAME }} instead of the literal prompt-registry.
  • Additional package integrity check: Added a check to verify the .vsix package file exists before attempting to publish, failing the job if the file is missing.
  • Comment cleanup: Updated inline comments for clarity.

docs/contributor-guide/releasing.md

  • Updated the release documentation to mention that publishing now targets both VS Code Marketplace and Open VSX Registry.
  • Documented the required publishing secrets: VSCODE_MARKETPLACE_TOKEN and OPEN_VSX_TOKEN.

Type of Change

  • 📝 Documentation update
  • 🔧 Configuration/build changes to enable openvsx publish

Testing

  • Manual testing completed on the workflow dispatch and release triggers.
  • Verified that the Open VSX publish job correctly activates on release events.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors

@mvgadagi mvgadagi marked this pull request as ready for review June 30, 2026 12:30
@mvgadagi mvgadagi requested review from gblanc-1a and wherka-ama June 30, 2026 12:30

@wherka-ama wherka-ama left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM thanks a lot @mvgadagi ❤️

@gblanc-1a gblanc-1a left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gblanc-1a gblanc-1a merged commit edf3ab2 into AmadeusITGroup:main Jun 30, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Prompt Registry Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants