From b48ca7caec6ca5eda3102e224437ee0b57de2e48 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Sun, 28 Mar 2021 20:13:04 +0200 Subject: [PATCH] CI: Added check to prevent CRLF endings --- .github/workflows/{check_commit_style.yml => checks.yml} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename .github/workflows/{check_commit_style.yml => checks.yml} (83%) diff --git a/.github/workflows/check_commit_style.yml b/.github/workflows/checks.yml similarity index 83% rename from .github/workflows/check_commit_style.yml rename to .github/workflows/checks.yml index 650a1c748..6a6dcaf9e 100644 --- a/.github/workflows/check_commit_style.yml +++ b/.github/workflows/checks.yml @@ -1,4 +1,4 @@ -name: Commit style check +name: Checks on: [pull_request] @@ -21,6 +21,9 @@ jobs: # Don't create a merge commit ref: ${{ github.event.pull_request.head.sha }} - - name: Verify commits + - name: Check commit style run: $GITHUB_WORKSPACE/.github/workflows/check_commit_style.py shell: bash + + - name: Check line endings + uses: erclu/check-crlf@v1