Skip to content

Meta: switch publish-biblio to trusted publishing#3706

Merged
ljharb merged 1 commit into
mainfrom
bakkot-patch-1
Mar 26, 2026
Merged

Meta: switch publish-biblio to trusted publishing#3706
ljharb merged 1 commit into
mainfrom
bakkot-patch-1

Conversation

@bakkot
Copy link
Copy Markdown
Member

@bakkot bakkot commented Oct 16, 2025

Existing token-based publishing will stop working soon. Anyway, best not to have to store a secrets in settings. See npm docs on trusted publishing. I already set up the package to trust the publish-biblio.yml workflow.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 16, 2025

The rendered spec for this PR is available as a single page at https://tc39.es/ecma262/pr/3706 and as multiple pages at https://tc39.es/ecma262/pr/3706/multipage .

@bakkot bakkot added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Oct 16, 2025
Copy link
Copy Markdown
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

OIDC and trusted publishing have severe security issues, even worse than our current setup. We should not do this.

@bakkot
Copy link
Copy Markdown
Member Author

bakkot commented Oct 17, 2025

I'm open to hearing your case for that, but I don't think that's true. Why do you believe that to be so?

99ccgsz4cv-oss

This comment was marked as spam.

Copy link
Copy Markdown
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

i still don't like trusted publishing, but the issue i referred to before has been solved, and this is precisely the same amount of insecure as the token approach (both are one factor), so i'll land it for now. When npm releases staged publishing, we'll be able to move to an actual CI-based two factor solution.

@ljharb ljharb merged commit b28e22e into main Mar 26, 2026
10 checks passed
@ljharb ljharb deleted the bakkot-patch-1 branch March 26, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Editors believe this PR needs no further reviews, and is ready to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants