diff --git a/core/drupalci.yml b/core/drupalci.yml
index cf10c88ef8c412f690b75720824f62d5d1eb9a87..a31328f14ade09e629d9de5a71c8b2a252f332de 100644
--- a/core/drupalci.yml
+++ b/core/drupalci.yml
@@ -8,7 +8,7 @@ build:
       container_command.commit-checks:
         commands:
           - "core/scripts/dev/commit-code-check.sh --drupalci"
-          - 'composer self-update'
+          - 'composer self-update 2.2.4'
         halt-on-fail: true
       # run_tests task is executed several times in order of performance speeds.
       # halt-on-fail can be set on the run_tests tasks in order to fail fast.