Skip to content

Commit 72f08f6

Browse files
committed
add linefeed check action
1 parent 52c8c93 commit 72f08f6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/check-crlf.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# check for Windows CRLF in files
2+
# homepage: https://github.com/marketplace/actions/check-crlf
3+
4+
name: Check CRLF
5+
6+
on: [push, pull_request]
7+
8+
jobs:
9+
Check-CRLF:
10+
name: verify that only LF linefeeds are used
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository contents
15+
uses: actions/checkout@v4
16+
17+
- name: Use action to check for CRLF endings
18+
uses: erclu/[email protected]
19+
with: # ignore directories containing *.csv & data
20+
exclude: /demo/

0 commit comments

Comments
 (0)