Skip to content

Commit c5f2726

Browse files
committed
Only create PR if black failed
1 parent 777f6d0 commit c5f2726

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/black-formatting.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
- name: Create PR
2323
uses: peter-evans/create-pull-request@v5
24+
if : ${{ steps.black-check.outcome == 'failure' }}
2425
with:
2526
commit-message: black formatting
2627
title: Black formatting

0 commit comments

Comments
 (0)