From 11772d3e19c89aa5bcec0fa0f84b1c51837949a8 Mon Sep 17 00:00:00 2001 From: Szymon Dziedzic Date: Mon, 26 Feb 2024 16:39:20 +0100 Subject: [PATCH] [eas-build-job] allow secrets to be empty strings --- packages/eas-build-job/src/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eas-build-job/src/common.ts b/packages/eas-build-job/src/common.ts index f2fdd871..5056f2b2 100644 --- a/packages/eas-build-job/src/common.ts +++ b/packages/eas-build-job/src/common.ts @@ -97,7 +97,7 @@ export enum EnvironmentSecretType { export const EnvironmentSecretsSchema = Joi.array().items( Joi.object({ name: Joi.string().required(), - value: Joi.string().required(), + value: Joi.string().allow('').required(), type: Joi.string() .valid(...Object.values(EnvironmentSecretType)) .required(),