Skip to content

Commit efc08b2

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongo-python-driver
2 parents 5ac2a91 + 34ae214 commit efc08b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-python.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ env:
2323
SILK_ASSET_GROUP: mongodb-python-driver
2424
EVERGREEN_PROJECT: mongo-python-driver
2525
# Constant
26-
DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || 'true' }}
26+
# inputs will be empty on a scheduled run. so, we only set dry_run
27+
# to 'false' when the input is set to 'false'.
28+
DRY_RUN: ${{ ! contains(inputs.dry_run, 'false') }}
2729
FOLLOWING_VERSION: ${{ inputs.following_version || '' }}
2830
VERSION: ${{ inputs.version || '10.10.10.10' }}
2931

0 commit comments

Comments
 (0)