Closing issues using keywords before merged into the default branch

According to this documentation, it appears that issues closed with keywords are only closed when in the default branch or when the commit is merged into the default branch.   

Is there a way via a  keyword to immediately close an issue on a commit?

Our team typically closes issues before we merge into the default branch, so we end up manually closing them, but it would be nice to use a unique keyword to close them via the commit message.

Hi @geoff-maddock,

As far as I know, this isn’t currently possible. However, I can definitely see the value! We’re always working to improve GitHub, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.