diff --git a/.github/workflows/weekly_crlftolf.yaml b/.github/workflows/weekly_crlftolf.yaml index dad74eef6..849df8db0 100644 --- a/.github/workflows/weekly_crlftolf.yaml +++ b/.github/workflows/weekly_crlftolf.yaml @@ -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"