mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update weekly_crlftolf.yaml
This commit is contained in:
13
.github/workflows/weekly_crlftolf.yaml
vendored
13
.github/workflows/weekly_crlftolf.yaml
vendored
@@ -16,12 +16,17 @@ jobs:
|
||||
- name: Run script file
|
||||
id: sort
|
||||
run: |
|
||||
echo "Converting crlf to lf"
|
||||
grep -rl '^M$' . | xargs sed 's/^M$//'
|
||||
git clone t-regx/crlf
|
||||
cd crlf
|
||||
pip install -r requirements/requirements.txt
|
||||
python setup.py install
|
||||
cd ..
|
||||
cd hassio-addons
|
||||
crlf -R . --to lf
|
||||
shell: bash
|
||||
- name: Create New Pull Request If Needed
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
title: "Github bot : crlf removed"
|
||||
title: "Github bot : crlf to lf"
|
||||
branch-suffix: timestamp
|
||||
commit-message: "Github bot : crlf removed"
|
||||
commit-message: "Github bot : crlf to lf"
|
||||
|
||||
Reference in New Issue
Block a user