Skip to content

ci(repo): gate npm publish and deprecate workflows behind environments#2385

Merged
mandarini merged 2 commits into
masterfrom
ci/setup-environments
May 21, 2026
Merged

ci(repo): gate npm publish and deprecate workflows behind environments#2385
mandarini merged 2 commits into
masterfrom
ci/setup-environments

Conversation

@mandarini
Copy link
Copy Markdown
Contributor

Add environment: npm-publish to all four publish jobs (release-stable, release-beta, release-next, release-canary) and environment: npm-deprecate to the deprecate job. Every npm-touching workflow now requires manual approval from a second reviewer before running.

Hardens against the supply-chain pattern where a single stolen maintainer credential can trigger an automated publish

@mandarini mandarini requested review from a team as code owners May 20, 2026 14:08
@mandarini mandarini self-assigned this May 20, 2026
Comment thread .github/workflows/docs.yml
@mandarini mandarini force-pushed the ci/setup-environments branch from 64e7bc1 to 487724c Compare May 20, 2026 15:06
@mandarini mandarini merged commit 96fb7a2 into master May 21, 2026
21 checks passed
@mandarini mandarini deleted the ci/setup-environments branch May 21, 2026 11:38
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.

2 participants