Skip to content

Commit

Permalink
Update black.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teanus authored Nov 17, 2023
1 parent b44805f commit 27a5bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
id: git-check
run: |
git diff --exit-code || echo "Форматирование успешно выполнено"
echo ::set-output name=changes::$(if [ $? -eq 0 ]; then echo "false"; else echo "true"; fi)
echo echo "changes=$(if [ $? -eq 0 ]; then echo "false"; else echo "true"; fi)" >> $GITHUB_ENV
- name: Commit changes
if: steps.git-check.outputs.changes == 'true'
Expand Down

0 comments on commit 27a5bd3

Please sign in to comment.