diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 255d30427c09122af0d59818bbfdbf7487d94a45..49bcf7f1ea188e1dc528a210f66ba0174fe50bf4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,6 +19,7 @@ repos:
       - id: check-case-conflict
       - id: trailing-whitespace
       - id: end-of-file-fixer
+        exclude: version.txt
       - id: debug-statements
         exclude: beat/backend/python/test/prefix/.*/syntax_error
       - id: check-added-large-files