Get notified of @mentions


#1

Hi, I’m trying to write an app on top of GitHub API to run something every time my username is @mentioned.

Is my bet is to poll the GET /notifications API periodically (which won’t be real-time)?

I think I’m looking for an account-level webhook (as opposed to repository webhook). But the Webhooks documentation says:

Webhooks can be installed on an organization or a specific repository […]

so it seems like there’s no account-level webhooks I can use personally?