Organisation Webhooks #123833
-
Select Topic AreaQuestion BodyHello everyone, I added a webhook to my organisation so I can log every repository. But is it possible to exclude a repository from the webhook? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Yes it is possible Go to the settings of the webhook in your GitHub organization. Look for the section where you can specify the repositories the webhook applies to. This section may be labeled "Repository settings" or "Repository scope." If the webhook is currently set to trigger for all repositories in the organization, you'll need to switch to the option to select specific repositories. Select the repositories you want the webhook to apply to, excluding the repository you want to exclude from the list. Save your changes. |
Beta Was this translation helpful? Give feedback.
-
There is no way to exclude a repository from an organization webhook To achieve this you'll need to exclude/discard the hook on the webhook endpoint. |
Beta Was this translation helpful? Give feedback.
There is no way to exclude a repository from an organization webhook
https://docs.github.com/en/webhooks/using-webhooks/creating-webhooks#creating-an-organization-webhook
To achieve this you'll need to exclude/discard the hook on the webhook endpoint.