Bläddra i källkod

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

Joel Challis 2 år sedan
förälder
incheckning
bccf933bc9
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      .github/workflows/format_push.yml

+ 4 - 0
.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