PYTHON-5047 Do not run nightly release check on forks (#325)
This commit is contained in:
parent
9491e32850
commit
e2e967b610
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user