Skip to content

Commit 13db252

Browse files
committed
fixes #1980 launch pre commit only if a python file is modified [3]
1 parent 8449d93 commit 13db252

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/validate-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ jobs:
188188
precommit:
189189
name: Pre-commit
190190
runs-on: ubuntu-latest
191+
needs: changes
191192
timeout-minutes: 15
192193
if: ${{ needs.changes.outputs.python == 'true' || needs.changes.outputs.gha == 'true'}}
193194

0 commit comments

Comments
 (0)