For pull requests, github.ref is refs/pull/N/merge, but github.head_ref contains the actual branch name. This should fix debug mode detection.
For pull requests, github.ref is refs/pull/N/merge, but github.head_ref contains the actual branch name. This should fix debug mode detection.