diff --git a/core/drupalci.yml b/core/drupalci.yml
index 413272eff3f52739b3b4a7fd05e78e45b4132d1f..0213f3f39b6aa25084bb1587b54621c9a4fb9ce5 100644
--- a/core/drupalci.yml
+++ b/core/drupalci.yml
@@ -11,6 +11,7 @@ build:
       container_command.commit-checks:
         commands:
           - "core/scripts/dev/commit-code-check.sh --drupalci"
+          - 'composer self-update'
         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.