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 OWNERassuming the owner iswatchingthat 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
watcherof 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 watcherthat is important.With
personalaccounts, you are automatically set as awatcheron any repo you create.With
organizationaccounts, you are not. (Eg. If you create a repo in anorganizationaccount, GitHub will not automatically set you as awatcherof that repo.) In anorganizationaccount, after you create a repo, if you care about its notifications (like issue notifications), you will need to watch it manually. Eg. ClickWatchin 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: