Fixed commit message and Black

pull/1307/head
Simon 4 years ago committed by GitHub
parent 8b6f3fa066
commit 36e825dc67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save