Right now, Cloudflare's default behaviors for pull_request events are kinda wonky. Because PR events are against a merged commit and this action assumes push events, it's reporting HEAD for the current branch and it also isn't reporting the correct commit to the GitHub Deployments API which results in deployments not showing up on their appropriate PR.
Right now, Cloudflare's default behaviors for
pull_request
events are kinda wonky. Because PR events are against a merged commit and this action assumespush
events, it's reportingHEAD
for the current branch and it also isn't reporting the correct commit to the GitHub Deployments API which results in deployments not showing up on their appropriate PR.Willing to contribute fixes for both of these.