For the Squash and Merge action, referenced here, the PR title isn't used for the commit message; it's using the commit message of the single commit itself. If you add the text, "Closes issue #" back in the title before you click the Squash and Merge button, it will close the issue.

So you'll need to either add the 'closes #43' back to the title, or have it in the description for it to close out a connected issue.

Did this answer your question?