diff --git a/scripts/ci/jobs/build-docs.yml b/scripts/ci/jobs/build-docs.yml
index 62cf9438a61b9800e2ccf731f749c9c018eee0f5..9cf224441d2ca113d21af08161084140610aaecb 100644
--- a/scripts/ci/jobs/build-docs.yml
+++ b/scripts/ci/jobs/build-docs.yml
@@ -15,7 +15,7 @@ build docs:
     max: 2
     when: runner_system_failure
   variables:
-    DOX_WARNINGS_THRESHOLD: 12
+    DOX_WARNINGS_THRESHOLD: 9
   script:
     # HACK to easier linking to the generated pages
     - echo '<meta http-equiv="REFRESH" content="0;URL=build/docs/index.html">' >> Doxygen.html