How do I get notifications on new GitHub issues?

2020-08-09 05:09发布

Right now, I miss quite some issues for my project hosted on GitHub. I am looking for a way which tells me of new issues. E-Mail would be fine, but those are only sent if I participated in a specific issue. IRC is also an option.

For both email and IRC, google spit out nothing helpful. Is this really not possible?

标签: github
9条回答
疯言疯语
2楼-- · 2020-08-09 05:21

I know I'm late to this topic, but I've created a Chrome extension which allows you to receive notifications from GitHub repositories you can specify so you will not miss issues again.

Whenever an issue is opened on the repository(s) you've selected, a notification will be sent to you. Similarly, whenever someone creates a pull request, it will notify you as well.

Steps:

  1. Install the Chrome extension here

  2. Click on the installed Chrome Extension on the top right of Chrome and fill in your Git username

  3. Enable permissions on your GitHub here

查看更多
啃猪蹄的小仙女
3楼-- · 2020-08-09 05:21

I suppose you could set any web-monitoring program (such as my WebCheck) to alert you whenever your project page does not contain the string "Issues 0", but then leaving an issue open would get you alerted repeatedly. The current layout of the issues page can be scraped by looking for <li id= up until the next </li> (in WebCheck, >{<li id=...</li>} after your .../issues URL should do it) but this may break when they change the layout. It's a pity GitHub doesn't seem to have RSS or email notification options for all new issues raised against your own projects.

查看更多
戒情不戒烟
4楼-- · 2020-08-09 05:22

You need to create a team (other than Owners, e.g. Project that will Change the World), add yourself to it (along with any other GitHub members) and add a repositories that you would like to monitor. That should do.

查看更多
霸刀☆藐视天下
5楼-- · 2020-08-09 05:25

Sadly, it appears the only method of doing this now is to use Webhooks:

https://developer.github.com/webhooks/

For which you need a server to receive the payload when the event info (in this case, issues) is sent. You could use this project as a server:

https://github.com/rvagg/github-webhook

查看更多
Viruses.
6楼-- · 2020-08-09 05:31

Specifically for IRC notifications for issues (which are not enabled by default), you can enable them using the webhook API:

curl -i -u YOURUSER -X GET https://api.github.com/repos/ORG/REPO/hooks curl -i -u YOURUSER -X PATCH https://api.github.com/repos/ORG/REPO/hooks/IRC_HOOK_ID -d "{ \"add_events\": [\"push\", \"pull_request\", \"issues\"] }"

查看更多
叛逆
7楼-- · 2020-08-09 05:33

I had the same problem and I'm almost sure that it can be solved by "watching" a repository. Then, at the notification center, you can choose to receive notifications by email or just on the web.

查看更多
登录 后发表回答