Skip to content

Commit 2337bd6

Browse files
committed
make ruff workflow only trigger when a python file is triggered to reduce gha resource usage
1 parent d6ea2a3 commit 2337bd6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ruff-lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: Ruff Checks
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- '**/*.py'
68
pull_request:
79
branches: [main]
10+
paths:
11+
- '**/*.py'
812

913
jobs:
1014
lint-and-test:

0 commit comments

Comments
 (0)