Update weekly_crlftolf.yaml

This commit is contained in:
Alexandre
2023-09-08 20:24:32 +02:00
committed by GitHub
parent f3bee6108c
commit 07f85132c3

View File

@@ -16,17 +16,12 @@ jobs:
- name: Run script file - name: Run script file
id: sort id: sort
run: | run: |
git clone t-regx/crlf echo "Converting crlf to lf"
cd crlf grep -rl '^M$' . | xargs sed 's/^M$//'
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 to lf" title: "Github bot : crlf removed"
branch-suffix: timestamp branch-suffix: timestamp
commit-message: "Github bot : crlf to lf" commit-message: "Github bot : crlf removed"