GitHub – Why ‘Closes #XXX’ Does Not Close the Issue

github

The only thing I can think of is that the commit was in a branch other than master. Does GitHub only watch the master branch for issue tags in commits?

The issue also doesn't have the commit attached to it, though the link to the issue from the commit works.

Best Answer

GitHub will now only auto-close an issue via merged commit if it's brought into the default branch. This is usually, and by default, the master branch.

Until then the issue will remain open or one of the repo collaborators can manually close it.