Remove CRLF, enforce with workflow (#26401)
* Check for CRLF in actions workflow Make emisse weep * Copy paste bottom text * I would like to thank StackOverflow for this spite PR. * Mention file name in message because the workflow tab doesn't display it. * dos2unix everything
This commit is contained in:
committed by
GitHub
parent
f2112e6e9d
commit
89db4409a4
15
.github/workflows/check-crlf.yml
vendored
Normal file
15
.github/workflows/check-crlf.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: CRLF Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ opened, reopened, synchronize, ready_for_review ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: CRLF Check
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3.6.0
|
||||
- name: Check for CRLF
|
||||
run: Tools/check_crlf.py
|
||||
Reference in New Issue
Block a user