Bläddra i källkod

Also disable line ending conversion for merge workflows (#17953)

Joel Challis 2 år sedan
förälder
incheckning
0002b1cc20
2 ändrade filer med 8 tillägg och 0 borttagningar
  1. 4 0
      .github/workflows/develop_update.yml
  2. 4 0
      .github/workflows/feature_branch_update.yml

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

@@ -17,6 +17,10 @@ jobs:
         token: ${{ secrets.QMK_BOT_TOKEN }}
         fetch-depth: 0
 
+    - name: Disable automatic eol conversion
+      run: |
+        echo "* -text" > .git/info/attributes
+
     - name: Checkout develop
       run: |
         git fetch origin master develop

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

@@ -22,6 +22,10 @@ jobs:
         token: ${{ secrets.QMK_BOT_TOKEN }}
         fetch-depth: 0
 
+    - name: Disable automatic eol conversion
+      run: |
+        echo "* -text" > .git/info/attributes
+
     - name: Checkout branch
       run: |
         git fetch origin develop ${{ matrix.branch }}