diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index a9d9d522..d04a7621 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -9,14 +9,4 @@ jobs: - uses: actions/checkout@v4 - uses: psf/black@stable with: - options: "-v" - - name: checkout - run: | - # Check if black made any changes - git diff --exit-code || ( - git config user.name "github-actions[bot]" && - git config user.email "github-actions[bot]@users.noreply.github.com" && - git add . && - git commit -m "Format code with black" && - git push - ) \ No newline at end of file + options: "--diff" \ No newline at end of file