From 07f85132c384d615330834d6dc4069c5811fed6e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 8 Sep 2023 20:24:32 +0200 Subject: [PATCH] Update weekly_crlftolf.yaml --- .github/workflows/weekly_crlftolf.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/weekly_crlftolf.yaml b/.github/workflows/weekly_crlftolf.yaml index 849df8db0..dad74eef6 100644 --- a/.github/workflows/weekly_crlftolf.yaml +++ b/.github/workflows/weekly_crlftolf.yaml @@ -16,17 +16,12 @@ jobs: - name: Run script file id: sort run: | - 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 + echo "Converting crlf to lf" + grep -rl '^M$' . | xargs sed 's/^M$//' shell: bash - name: Create New Pull Request If Needed uses: peter-evans/create-pull-request@v5 with: - title: "Github bot : crlf to lf" + title: "Github bot : crlf removed" branch-suffix: timestamp - commit-message: "Github bot : crlf to lf" + commit-message: "Github bot : crlf removed"