SupportedHost reports whether event subscriptions are available on host. They are only available on github.com, not on GitHub Enterprise Server or GHE.com.
(host string)
| 278 | // SupportedHost reports whether event subscriptions are available on host. They are only available on github.com, |
| 279 | // not on GitHub Enterprise Server or GHE.com. |
| 280 | func SupportedHost(host string) bool { |
| 281 | return !ghauth.IsEnterprise(host) && !ghauth.IsTenancy(host) |
| 282 | } |
no outgoing calls
no test coverage detected