Skip to content

Commit

Permalink
No publish forks (#205)
Browse files Browse the repository at this point in the history
* Release 0.5.1

* Don't try to release on forks
  • Loading branch information
jacobtomlinson committed Dec 16, 2020
1 parent 59b142a commit d72ba79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: python setup.py sdist bdist_wheel

- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: github.repository == 'dask/dask-cloudprovider' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
Expand Down

0 comments on commit d72ba79

Please sign in to comment.