From d97617135b55281a2869b98c7fba193a31601dde Mon Sep 17 00:00:00 2001 From: fboundy Date: Sun, 22 Dec 2024 18:48:43 +0000 Subject: [PATCH] Check and Diff --- .github/workflows/black-check.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/black-check.yaml b/.github/workflows/black-check.yaml index 9422268..a368f17 100644 --- a/.github/workflows/black-check.yaml +++ b/.github/workflows/black-check.yaml @@ -35,15 +35,5 @@ jobs: run: isort . - name: Run Black Formatter - run: black --line-length 119 . + run: black --line-length 119 --check --diff . - - name: Check for Changes - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" - if [ -n "$(git status --porcelain)" ]; then - git add . - git commit -m "Automatically sorted imports with isort" - git push - else - echo "No changes to commit." \ No newline at end of file