diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 52573faa5..f1112ec5c 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -1,7 +1,11 @@ name: Python Lint -on: [push, pull_request] - +on: + push: + paths: + - '**.py' + pull_request: + jobs: lint: runs-on: ubuntu-latest