From f677ed227a21444d6a19eaa74751b62549130a88 Mon Sep 17 00:00:00 2001 From: Ed Rivas Date: Wed, 29 Dec 2021 17:25:35 -0600 Subject: [PATCH] ci: disable release workflow on forks --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 64278fb..a5a17f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: