Skip to content

Enable npm trusted publishing on 0.85 - #57712

Merged
cipolleschi merged 5 commits into
backport/0.85-repository-migrationfrom
backport/0.85-trusted-publishing
Jul 28, 2026
Merged

Enable npm trusted publishing on 0.85#57712
cipolleschi merged 5 commits into
backport/0.85-repository-migrationfrom
backport/0.85-trusted-publishing

Conversation

@cipolleschi

@cipolleschi cipolleschi commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • consolidate release, nightly, and bumped-package publication in publish-npm.yml with npm OIDC trusted publishing
  • validate canonical repository metadata for every public package before Maven or npm publication
  • add the missing popup-menu repository metadata and canonicalize the two SSH repository entries
  • use the canonical GitHub API owner for release-asset uploads
  • run post-publish, changelog, Podfile.lock, and draft-release jobs after a successful release publish
  • backport Nicola Corti's Sonatype staging profile fix

This is stacked on #57711 and should be retargeted to 0.85-stable after that PR merges. No post-release recovery/resume path is included.

Changelog:

[Internal] - Migrate to trusted publishing.

Test plan

  • node scripts/releases-ci/validate-npm-package-metadata.js (24 packages)
  • focused publisher, validator, and release-asset uploader Jest suites
  • targeted ESLint and Prettier checks
  • YAML parse and trusted-publishing/post-release job-graph assertions
  • runtime syntax checks and git diff --check

Flow could not start locally because the installed Flow binary does not support experimental.pattern_matching and casting_syntax from this branch's .flowconfig.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 28, 2026
@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown

Caution

Invalid Base Branch

The base branch for this PR is backport/0.85-repository-migration, which is not main or a -stable branch.
Are you sure you want to target this branch?

@cipolleschi
cipolleschi force-pushed the backport/0.85-trusted-publishing branch from eb02719 to b802f1d Compare July 28, 2026 09:31
@cipolleschi
cipolleschi force-pushed the backport/0.85-trusted-publishing branch from b802f1d to fc59b89 Compare July 28, 2026 09:41
@cipolleschi
cipolleschi merged commit 8d68445 into 0.85-stable Jul 28, 2026
67 of 70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants