Skip to content

Commit

Permalink
build(python-app): add check for available commits
Browse files Browse the repository at this point in the history
  • Loading branch information
kaeeraa committed Dec 12, 2024
1 parent 2a85cf0 commit fcfa7a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
- name: Commit changes
run: |
if git diff-index --quiet HEAD; then
echo "No changes to commit."
exit 0
fi
echo "Committing changes..."
git commit -a -m "refactor(*): format code with black, isort and flake8"
- name: Push changes
Expand Down

0 comments on commit fcfa7a7

Please sign in to comment.