/ node Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
tools: ensure the PR was not pushed before merging
When using Squash and Merge feature, it would allow to a malicious actor to push unreviewed code to their PR while the CQ is running and bypass the usual checks. This commit adds a check to refuse to land if the head of the PR branch is different from the one validated by ncu. PR-URL: #40747 Reviewed-By: Michaël Zasso <email@example.com> Reviewed-By: Tobias Nießen <firstname.lastname@example.org> Reviewed-By: Voltrex <email@example.com>
- Loading branch information
Showing 1 changed file with 2 additions and 1 deletion.