Skip to content

Commit d9ae07f

Browse files
committed
try to commit too
Signed-off-by: hezko <tomer.haska@gmail.com>
1 parent 23f590f commit d9ae07f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/black.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,14 @@ jobs:
99
- uses: actions/checkout@v4
1010
- uses: psf/black@stable
1111
with:
12-
options: "-v"
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+
)

0 commit comments

Comments
 (0)