Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eas-build-job] allow secrets to be empty strings #347

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

szdziedzic
Copy link
Member

Why

https://exponent-internal.slack.com/archives/CLQ58M23X/p1708680627608489

How

I believe '' are valid env vars and we should allow it 🤔

Copy link
Contributor

@kadikraman kadikraman left a comment

Choose a reason for hiding this comment

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

It's surprising that an empty string is not a "string" in a Joi schema. So easy to miss this 🤯

@szdziedzic
Copy link
Member Author

It's surprising that an empty string is not a "string" in a Joi schema. So easy to miss this 🤯

yeah, true 😅

@szdziedzic szdziedzic merged commit 5e4ddbc into main Feb 26, 2024
4 checks passed
@szdziedzic szdziedzic deleted the @szdziedzic/allow-empty-strings-as-env-secrets branch February 26, 2024 15:50
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.

3 participants