From 544e4dd15bfd1cfaec6b96bd51ddc7ffca70e37f Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 6 Feb 2025 09:28:07 -0600 Subject: [PATCH] PYTHON-5047 Do not run nightly release check on forks --- .github/workflows/release-python.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 45157bfc2b..d8c900e77b 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -37,6 +37,7 @@ jobs: pre-publish: environment: release runs-on: ubuntu-latest + if: github.repository_owner == 'mongodb' || github.event_name == 'workflow_dispatch' permissions: id-token: write contents: write