diff --git a/.github/workflows/autoblack.yml b/.github/workflows/autoblack.yml index e2f9cfd..b349125 100644 --- a/.github/workflows/autoblack.yml +++ b/.github/workflows/autoblack.yml @@ -23,13 +23,14 @@ jobs: - name: Commit files id: commit run: | + black . --line-length 101 git config --local user.email "action@github.com" git config --local user.name "github-actions" git add --all if [-z "$(git status --porcelain)"]; then echo "::set-output name=push::false" else - git commit -m "Added translation" -a + git commit -m "Formatted code using Black" -a echo "::set-output name=push::true" fi shell: bash