Skip to content

Commit

Permalink
Check and Diff
Browse files Browse the repository at this point in the history
  • Loading branch information
fboundy committed Dec 22, 2024
1 parent 576da43 commit d976171
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/black-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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."

0 comments on commit d976171

Please sign in to comment.