We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b678a0 + 5a399fd commit e4cc754Copy full SHA for e4cc754
.github/workflows/black-formatting.yml
@@ -12,13 +12,20 @@ jobs:
12
- name: Checkout repository
13
uses: actions/checkout@v4
14
15
- - name: Check and apply black formatting
+ - name: Check black formatting
16
id: black-check
17
uses: psf/black@stable
18
with:
19
options: "--check --verbose"
20
continue-on-error: true
21
22
+ - name: Apply black formatting
23
+ id: black-apply
24
+ uses: psf/black@stable
25
+ if : ${{ steps.black-check.outcome == 'failure' }}
26
+ with:
27
+ options: "--verbose"
28
+
29
- name: Create PR
30
uses: peter-evans/create-pull-request@v5
31
if : ${{ steps.black-check.outcome == 'failure' }}
0 commit comments