Update schemas.ts
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user