Skip to content

Commit

Permalink
chore: update 'show changes' by Black
Browse files Browse the repository at this point in the history
  • Loading branch information
MoHermes committed Jul 31, 2024
1 parent 0b3e0df commit ce67e1b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:

- name: Show Black changes
run: |
git diff --name-only
git diff
CHANGED_FILES=$(git diff --name-only)
echo "changed files:"
if [ -n "$CHANGED_FILES" ]; then
echo "$CHANGED_FILES"
else
echo "No files formatted by Black."
fi

0 comments on commit ce67e1b

Please sign in to comment.