Skip to content

Add validated packaging and approval-gated publishing - #1

Merged
mor10 merged 1 commit into
mainfrom
mor10/add-release-automation
Nov 18, 2026
Merged

mor10 merged 1 commit into
mainfrom
mor10/add-release-automation

Conversation

@mor10

@mor10 mor10 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add credential-free theme validation and VSIX packaging for pull requests and pushes to main.
  • Add approval-gated publishing of the same packaged artifact to the VS Code Marketplace and Open VSX, with a manual single-registry option for initial synchronization and retries.
  • Pin public GitHub Actions and npm tools, disable dependency lifecycle scripts, and use Marketplace OIDC instead of a stored Marketplace PAT.
  • Limit the VSIX contents to the themes, listing images, manifest, license, and documentation.
  • Remove an invalid configuration contribution and clarify the README's accessibility claim. Theme colors, the VS Code compatibility range, and extension version 1.0.1 are unchanged.
  • Keep the README focused on users and put reusable development and release instructions in CONTRIBUTING.md. Temporary setup status and account-specific access decisions are documented only in this PR.

Testing Done

  • Local code review completed.
  • Clean dependency installation with npm ci --ignore-scripts --no-audit --no-fund.
  • npm run check: formatting, four focused tests, and validation of both themes and the exact package file list.
  • npm run package: built and inspected the installable theme.vsix.
  • Validated matching release tag, version, and publishing ref; tests cover mismatches and invalid theme data.
  • Checked existing workbench color IDs against the current public VS Code color reference.
  • git diff --check.

GitHub-hosted CI will run on this PR. No visual accessibility certification or live registry publication was performed.

Publishing setup

The repository's publishing environment has been configured separately with mor10 as a required reviewer, administrator bypass disabled, and only main and v* tags permitted. Broader organization-admin publishing access is deferred.

Before any publication:

  1. Configure Marketplace Trusted Publishing for this repository, workflow publish.yml, and environment publishing.
  2. Wait for namespace ownership approval in Claiming namespace linkedinlearning EclipseFdn/open-vsx.org#15936.
  3. Add a dedicated Open VSX CI token as the OVSX_PAT environment secret.

After merging and completing setup, manually publish 1.0.1 to Open VSX only. It already exists on the VS Code Marketplace. This PR does not publish an extension or create a release.

Add public GitHub Actions for theme validation, VSIX artifacts, and publishing to both registries. Tighten package contents, correct invalid configuration metadata, and document contributor workflows separately from the user README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mor10
mor10 merged commit a849eb4 into main Nov 18, 2026
1 check passed
@mor10
mor10 deleted the mor10/add-release-automation branch November 18, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant