summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-08-08 17:30:26 +0100
committerGitHub <noreply@github.com>2022-08-08 17:30:26 +0100
commitbccf933bc9932c7e819d0ed6768dfeba3b2c9142 (patch)
tree0c49a6982b5c80570fe32ce9a98ce577778455d5 /.github/workflows
parent9a3c30f2c7d69764c8b31f51296aee1afde95d70 (diff)
Force no git line ending conversion on format workflow (#16176)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/format_push.yml4
1 files changed, 4 insertions, 0 deletions
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