diff --git a/.github/workflows/python-formatting.yml b/.github/workflows/python-formatting.yml index f58710ee..f69ffd18 100644 --- a/.github/workflows/python-formatting.yml +++ b/.github/workflows/python-formatting.yml @@ -25,4 +25,8 @@ jobs: run: pip install black - name: Run black - run: black --check . \ No newline at end of file + run: black --check . + + - name: Run black to auto-format + if: failure() + run: black . \ No newline at end of file