Skip to content

[chores] Guard NPM publish with approvals on release PR#2066

Merged
Drarig29 merged 3 commits intomasterfrom
corentin.girard/pr-approval-before-npm-publish
Jan 23, 2026
Merged

[chores] Guard NPM publish with approvals on release PR#2066
Drarig29 merged 3 commits intomasterfrom
corentin.girard/pr-approval-before-npm-publish

Conversation

@Drarig29
Copy link
Copy Markdown
Contributor

What and why?

Follow up of #2063 to prevent people from approving NPM publish before the release PR is approved.

How?

Releasing requires 2 approvals:

  • An approval on the release PR for it to be merged
  • An approval on the npm-publish job to allow the NPM deployment

Before this PR, there was no mandatory order. So an admin could easily approve the npm-publish job before the release PR itself is approved, which could lead to organizational problems.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

@Drarig29 Drarig29 added the chores Related to the CI or developer experience label Jan 20, 2026
@Drarig29 Drarig29 marked this pull request as ready for review January 20, 2026 17:07
@Drarig29 Drarig29 requested review from a team as code owners January 20, 2026 17:07
Copy link
Copy Markdown
Contributor

@GabrielAnca GabrielAnca left a comment

Choose a reason for hiding this comment

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

Looks great!

Comment thread bin/check-npm-packages.sh
Comment thread RELEASING.md
@Drarig29 Drarig29 merged commit 3de5e79 into master Jan 23, 2026
26 checks passed
@Drarig29 Drarig29 deleted the corentin.girard/pr-approval-before-npm-publish branch January 23, 2026 09:08
@Drarig29 Drarig29 mentioned this pull request Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chores Related to the CI or developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants