Update weekly_crlftolf.yaml

This commit is contained in:
Alexandre
2023-09-08 12:52:07 +02:00
committed by GitHub
parent 647d8c0613
commit 4cf5ff34ee

View File

@@ -16,12 +16,17 @@ jobs:
- name: Run script file - name: Run script file
id: sort id: sort
run: | run: |
echo "Converting crlf to lf" git clone t-regx/crlf
grep -rl '^M$' . | xargs sed 's/^M$//' cd crlf
pip install -r requirements/requirements.txt
python setup.py install
cd ..
cd hassio-addons
crlf -R . --to lf
shell: bash shell: bash
- name: Create New Pull Request If Needed - name: Create New Pull Request If Needed
uses: peter-evans/create-pull-request@v5 uses: peter-evans/create-pull-request@v5
with: with:
title: "Github bot : crlf removed" title: "Github bot : crlf to lf"
branch-suffix: timestamp branch-suffix: timestamp
commit-message: "Github bot : crlf removed" commit-message: "Github bot : crlf to lf"