Skip to content

Commit

Permalink
ci: disable release workflow on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Dec 29, 2021
1 parent b2c1b01 commit f677ed2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ jobs:
run: tox -e package -e lint -e pyupgrade

# Create a new semantic release
# Only runs on the original repo, not forks
release:
if: github.repository_owner == 'stephenmcd'
needs: [test, lint]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f677ed2

Please sign in to comment.