We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eaefa7 commit 0f6d647Copy full SHA for 0f6d647
2 files changed
.gitattributes
@@ -1,3 +1,6 @@
1
+# Default: normalize text files to LF in the repo and on checkout.
2
+* text=auto eol=lf
3
+
4
# On Windows, running "git apply" with CRLF patch files causes an error for binary files:
5
# "git diff header lacks filename information when removing 1 leading pathname component".
6
# To fix this, always check out patch files as LF.
.github/workflows/check-line-endings.yml
@@ -0,0 +1,16 @@
+name: Check Line Endings
+on:
+ push:
+ branches:
+ - "microsoft/*"
7
+ pull_request:
8
9
10
11
+permissions:
12
+ contents: read
13
14
+jobs:
15
+ check-line-endings:
16
+ uses: microsoft/go-infra/.github/workflows/check-line-endings.yml@944d1d054c1265bf35b6632d42682217330907c4 # main
0 commit comments