From 36e825dc67a4ae6b86d1eff9ee745624108337f6 Mon Sep 17 00:00:00 2001 From: Simon <65854503+OpenSourceSimon@users.noreply.github.com> Date: Tue, 18 Oct 2022 08:42:52 +0200 Subject: [PATCH] Fixed commit message and Black --- .github/workflows/autoblack.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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