Skip to content

Conversation

blink1073
Copy link
Member

See mongodb/motor#323 for details.

@blink1073 blink1073 requested a review from Jibola January 29, 2025 21:17
Copy link
Contributor

@Jibola Jibola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking question

DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || 'true' }}
# inputs will be empty on a scheduled run. so, we only set dry_run
# to 'false' when the input is set to 'false'.
DRY_RUN: ${{ ! contains(inputs.dry_run, 'false') }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does it have to be a contains?
Would an equality not work the same?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps, but this variant has already been tested. ;)

@blink1073 blink1073 merged commit 8a5e029 into mongodb:main Jan 30, 2025
12 checks passed
@blink1073 blink1073 deleted the PYTHON-5047-dry-run-again branch January 30, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants