It is a simple question I could not find an answer for by googling and looking at the github documents.
Would a Repo owner be notified if someone put a new comment on a closed issue in github?
It is a simple question I could not find an answer for by googling and looking at the github documents.
Would a Repo owner be notified if someone put a new comment on a closed issue in github?
If a comment is added to a closed issue, notifications are sent to the
REPO OWNER
assuming the owner iswatching
that repo.Note: There's a subtle but important clarification to notice here: If you create a repo in your personal account, GitHub automatically sets you as a
watcher
of your repo. Eg. You'll be notified of code pushes, when issues are created/closed, etc. Technically speaking (and being a little pedantic), but being a"repo owner"
as the SO question asks, isn't the trigger of notifications. (Ie. You could be a repo owner but just "un-watch" the repo; you'd then miss all subsequent notifications, obviously.) It's being arepo watcher
that is important.With
personal
accounts, you are automatically set as awatcher
on any repo you create.With
organization
accounts, you are not. (Eg. If you create a repo in anorganization
account, GitHub will not automatically set you as awatcher
of that repo.) In anorganization
account, after you create a repo, if you care about its notifications (like issue notifications), you will need to watch it manually. Eg. ClickWatch
in the upper-right corner:Screenshots:
To test, I created an issue, closed it, and then commented against the closed issue (without reopening it; ie. I clicked on the the green "Comment" button). Shortly afterwards, I received this email notification in my inbox:
Note: I am the repo owner and am watching it. Additionally though, when notifications were sent, they were sent to:
Whether the issue was opened or closed did not affect the usual notification behavior.
Edit (7/11/21): I spent an additional hour this afternoon testing how notifications work on closed issues in GitHub and wanted to just add these screenshots for completeness: