Skip to content

Commit

Permalink
Run linting only when something changes
Browse files Browse the repository at this point in the history
  • Loading branch information
c-martinez committed Oct 28, 2023
1 parent 0330aca commit d99a135
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Lint

on:
push
# push:
# paths:
# - 'src/*.py'
# - 'tests/*.py'

push:
paths:
- 'src/*.py'
- 'tests/*.py'
jobs:
linter:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d99a135

Please sign in to comment.