Skip to content

Commit

Permalink
Don't trigger the workflow on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Feb 19, 2022
1 parent 1e77ac2 commit 950f805
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ name: Publish 🐍 to PyPI.org
on:
push:
branches: [ main, "release/*" ]
pull_request:
branches: [ main ]
release:
types: [ published ]

jobs:
release:
deploy:
runs-on: ubuntu-latest
name: Build and publish Python 🐍 distributions 📦 to PyPI

steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down

0 comments on commit 950f805

Please sign in to comment.