fix(github): require opt-in custom webhook endpoint

This commit is contained in:
Andras Bacsai committed 2026-05-27 09:11:23 +02:00
1 parent a07cee7ad6
commit 9d1ede0733
3 files changed
+49 -29

No files matched your search

+3
View File
@@ -23,6 +23,8 @@ class Change extends Component
public string $custom_webhook_endpoint = '';
public bool $use_custom_webhook_endpoint = false;
public ?string $ipv4 = null;
public ?string $ipv6 = null;
@@ -101,6 +103,7 @@ class Change extends Component
'privateKeyId' => 'nullable|int',
'webhook_endpoint' => ['required', 'string', 'url'],
'custom_webhook_endpoint' => ['nullable', 'string', 'url'],
'use_custom_webhook_endpoint' => ['required', 'bool'],
];
}