diff --git a/.github/workflows/format_push.yml b/.github/workflows/format_push.yml
index a180b29009..910bba9a4e 100644
--- a/.github/workflows/format_push.yml
+++ b/.github/workflows/format_push.yml
@@ -17,6 +17,10 @@ jobs:
       with:
         fetch-depth: 0
 
+    - name: Disable automatic eol conversion
+      run: |
+        echo "* -text" > .git/info/attributes
+
     - name: Install dependencies
       run: |
         pip3 install -r requirements-dev.txt