Преглед изворни кода

Force no git line ending conversion on format workflow (#16176)

Joel Challis пре 4 година
родитељ
комит
bccf933bc9
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      .github/workflows/format_push.yml

+ 4 - 0
.github/workflows/format_push.yml

@@ -17,6 +17,10 @@ jobs:
       with:
       with:
         fetch-depth: 0
         fetch-depth: 0
 
 
+    - name: Disable automatic eol conversion
+      run: |
+        echo "* -text" > .git/info/attributes
+
     - name: Install dependencies
     - name: Install dependencies
       run: |
       run: |
         pip3 install -r requirements-dev.txt
         pip3 install -r requirements-dev.txt