Update schemas.ts

This commit is contained in:
Courtney Claessens
2022-06-14 22:37:00 -04:00
committed by GitHub
parent 871f4064a1
commit dfd519642f
+1 -1
View File
@@ -39,7 +39,7 @@ export const ConfigurationOptionsSchema = z
.partial() .partial()
.refine( .refine(
obj => !(obj.allow_licenses && obj.deny_licenses), obj => !(obj.allow_licenses && obj.deny_licenses),
"Can't specify both allow_licenses and deny_licenses" "Your workflow file has both an allow_licenses list and deny_licenses list, but you can only set one or the other."
) )
export const ChangesSchema = z.array(ChangeSchema) export const ChangesSchema = z.array(ChangeSchema)