Skip to content

Commit

Permalink
filter pre-release job for only main repo (#3945)
Browse files Browse the repository at this point in the history
Filter pre-release job to only run in the main repo (quantumlib/Cirq). 

This avoids noise in forks who use the master branch.
  • Loading branch information
balopat committed Mar 21, 2021
1 parent 4f50559 commit b190b40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
jobs:
push_to_pypi:
if: github.repository == 'quantumlib/Cirq'
name: Push to PyPi
runs-on: ubuntu-16.04
env:
Expand Down

0 comments on commit b190b40

Please sign in to comment.