diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7b987f2bfa041659dcd813b2d39b7cb3d86bd5f0..835e3f9741a6e05631e1ab9535f28c11430981f5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,3 +1,5 @@
+ci:
+    autoupdate_branch: 'devel'
 repos:
 -   repo: https://github.com/pre-commit/mirrors-clang-format
     rev: v13.0.1
@@ -5,7 +7,7 @@ repos:
     -   id: clang-format
         args: [-i, --style=Google]
 -   repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.1.0
+    rev: v4.2.0
     hooks:
     -   id: check-added-large-files
     -   id: check-ast