Skip to content

Commit

Permalink
CI: GitHub: don't fail pushing PyPI releases from forks
Browse files Browse the repository at this point in the history
...and also unify the condition with what syntax that the Docker build
job is using.

Change-Id: Ia6e3fe308093bac144441f4d9a33df93ffdca06f
  • Loading branch information
jktjkt committed Jun 17, 2021
1 parent 9f3995e commit 53f2995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

pypi:
needs: build
if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }}
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Telecominfraproject'
name: PyPI packaging
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 53f2995

Please sign in to comment.