Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2026 at 22:26 UTC
Updated:
24 Mar 2026 at 12:50 UTC
Jump to comment: Most recent
core/scripts/dev/commit-code-check.sh is used by core committers and contributors for pre-commit checks, but it can be improved:
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
longwaveProbably can do more here to reduce duplication, but let's start with this.
Comment #5
smustgrave commentedLooks like good improvements to me.
Comment #8
catchThought about trying to manually test this on another issue, but this only really affects committers so I think it's safe enough to commit and if we run into a problem we can always revert again.
Committed/pushed to main and 11.x, thanks!