diff --git a/.github/workflows/python-test-publish.yml b/.github/workflows/python-test-publish.yml index d2d89ea0..65266e4f 100644 --- a/.github/workflows/python-test-publish.yml +++ b/.github/workflows/python-test-publish.yml @@ -4,11 +4,7 @@ name: Upload Python Package on: - # Trigger the workflow on push or pull request, - # but only for the main branch - push: - branches: - - main + # Trigger the workflow only for pull requests for the main branch pull_request: branches: - main