Action on closed pull request not triggered when using "Closes: #" in commit message

I have this in my workflow:

on:
  pull_request:
    types:
      - closed

It is triggered just fine when I close the PR through website by clicking the button.

It is not triggered when I close the PR through commit message including “Closes: #”.

How can I trigger this workflow by commit message?

Hi @dawidd6,

I was not able to reproduce this in my own repo. Can you provide an example in a public repo so we can investigate?

Thank you,

Ilya Tillis

Actions Product Manager 

For example this commit: https://github.com/dawidd6/homebrew-test/commit/94b01829df26369031952fe48d1e01dc2a45b668

PR was closed as expected, but workflow was not run.

This is still not resolved.

@itillis could you show the repo where you tested it?