Push comment closes #1 does not auto close the issue

I have an Issue added in github. It will not auto close when I commit+push with a comment closes #7. The push is visible in github but does show in the issue. What am I doing wrong?

Is the commit on the default branch of your repository? It won’t close the issue until it’s merged to the default branch.