Skip to content

Commit 5c4d763

Browse files
committed
dont require anyhting just suggest changes
1 parent b4d2391 commit 5c4d763

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/black.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,4 @@ jobs:
99
- uses: actions/checkout@v4
1010
- uses: psf/black@stable
1111
with:
12-
options: "-v"
13-
- name: checkout
14-
run: |
15-
# Check if black made any changes
16-
git diff --exit-code || (
17-
git config user.name "github-actions[bot]" &&
18-
git config user.email "github-actions[bot]@users.noreply.github.com" &&
19-
git add . &&
20-
git commit -m "Format code with black" &&
21-
git push
22-
)
12+
options: "--diff"

0 commit comments

Comments
 (0)