provide custom webhook secret to all resources which take webhooks

This commit is contained in:
mbecker20
2024-08-11 22:05:26 -07:00
parent 197e938346
commit 8d75fa3f2f
25 changed files with 302 additions and 93 deletions

View File

@@ -380,6 +380,11 @@ export const StackConfig = ({
!!(update.branch ?? config.branch) &&
webhooks !== undefined &&
!webhooks.managed,
webhook_secret: {
description:
"Provide a custom webhook secret for this resource, or use the global default.",
placeholder: "Input custom secret",
},
["managed" as any]: () => {
const inv = useInvalidate();
const { toast } = useToast();