From b0022e55c26404264232270d45ed61b372f87b96 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 29 Dec 2023 13:36:56 +0100 Subject: [PATCH] Update weekly_crlftolf.yaml --- .github/workflows/weekly_crlftolf.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/weekly_crlftolf.yaml b/.github/workflows/weekly_crlftolf.yaml index dc1c28465..37429a9b1 100644 --- a/.github/workflows/weekly_crlftolf.yaml +++ b/.github/workflows/weekly_crlftolf.yaml @@ -31,11 +31,8 @@ jobs: # Apply dos2unix and keep the original timestamp dos2unix -k "$f" done - - name: Create a pull request with the fixed files - uses: peter-evans/create-pull-request@v5 # Use the create-pull-request action + - name: Commit if needed + uses: EndBug/add-and-commit@v9 with: - # Specify the pull request details - title: Fix CRLF Endings - commit-message: Apply dos2unix to files with CRLF endings - branch: fix-crlf-endings - delete-branch: true + message: "Github bot : CRLF corrected" + default_author: github_actions