Skip to content

ci: publish to the marketplace with trusted publishing - #53

Merged
cypherkunp merged 1 commit into
mainfrom
ci/trusted-publishing
Nov 23, 2026
Merged

cypherkunp merged 1 commit into
mainfrom
ci/trusted-publishing

Conversation

@cypherkunp

Copy link
Copy Markdown
Collaborator

The first Release run after #52 merged failed at Publish to the VS Code Marketplace because no VSCE_PAT was set (run). Nothing was published or tagged. This PR switches Marketplace publishing to trusted publishing (GitHub Actions OIDC), so no token has to be stored.

Changes

  • release.yml: adds id-token: write and runs vsce publish --oidc. VSCE_PAT is no longer used.
  • package.json: publisher is now StartFrom, matching the Marketplace publisher ID exactly. repository, bugs and homepage now point at startfromco/packman.
  • docs/releasing.md: replaces the PAT steps with the Trusted Publishing policy values and updates the ID to StartFrom.packman. CHANGELOG.md's 1.1.0 entry now uses that ID too.

Before merging

Merging re-runs Release, which publishes 1.1.0 because v1.1.0 isn't tagged yet.

  • Marketplace → StartFrom → Trusted Publishing: create a policy with owner startfromco, repository packman, workflow release.yml and no environment
  • Open VSX: create the StartFrom namespace and add the OVSX_PAT secret. Without it the Open VSX step fails after the Marketplace publish succeeds; re-running is safe thanks to --skip-duplicate.
  • Settings → Actions → General: turn on "Allow GitHub Actions to create and approve pull requests"

🤖 Generated with Claude Code

Match the publisher ID StartFrom and point repo links at startfromco.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cypherkunp
cypherkunp merged commit 883b578 into main Nov 23, 2026
1 check passed
@cypherkunp
cypherkunp deleted the ci/trusted-publishing branch November 23, 2026 16:07
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