diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 11c3670..99f78d0 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -2,7 +2,11 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI -on: push +on: + push: + paths: + - '**/*' + - '!docs/**' jobs: build: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bf60f7b..a857ea9 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,5 +1,9 @@ name: Tests -on: [push, pull_request] +on: + push: + paths: + - '**/*' + - '!docs/**' jobs: build: runs-on: ${{ matrix.os }}