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)
| 254 | // SupportedHost reports whether event subscriptions are available on host. They are only available on github.com, |
| 255 | // not on GitHub Enterprise Server or GHE.com. |
| 256 | func SupportedHost(host string) bool { |
| 257 | return !ghauth.IsEnterprise(host) && !ghauth.IsTenancy(host) |
| 258 | } |
no outgoing calls
no test coverage detected