PYTHON-5047 Do not run nightly release check on forks (#325)

This commit is contained in:
Steven Silvester 2025-02-06 09:23:01 -06:00 committed by GitHub
parent 9491e32850
commit e2e967b610
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,7 @@ defaults:
jobs:
pre-publish:
environment: release
if: github.repository_owner == 'mongodb' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
id-token: write