We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90bad8 commit 901b87fCopy full SHA for 901b87f
src/webhooks-trigger.tsx
@@ -97,7 +97,8 @@ const WebhooksTrigger = ({tool}: WebhooksTriggerConfig): ReactElement => {
97
if (webhook.url) {
98
setTriggeringWebhook(webhook._id)
99
100
- const isGithubAction = webhook.url.includes('github.com')
+ const hostname = new URL(webhook.url).hostname
101
+ const isGithubAction = hostname === 'github.com' || hostname.endsWith('.github.com')
102
103
try {
104
const response = await fetch(webhook.url, {
0 commit comments