Skip to content

Commit 5a3f249

Browse files
committed
Update black GitHub Actions
1 parent 7be1e6f commit 5a3f249

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/black.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,22 @@ on:
77
branches: [main, master]
88

99
jobs:
10+
changes:
11+
name: Check Changes
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check Changes
15+
uses: dorny/paths-filter@v2
16+
id: changes
17+
with:
18+
filters: |
19+
black:
20+
- '**.py,**.ipynb'
21+
1022
black:
1123
name: Black
24+
needs: changes
25+
if: needs.changes.outputs.eslint == 'true'
1226
runs-on: ubuntu-latest
1327
steps:
1428
- name: Checkout Code

0 commit comments

Comments
 (0)