Hello,
First of all, thank you for this action, it's useful!
I'm running it in my CI but I got an issue here: https://github.com/UnlyEd/next-right-now/runs/474616496 (section "Comment PR (Deployment success)")
And got this error:
Couldn't find an open pull request for branch with head at 68cd1584010cc948222fb38ea56067020d8eacda.
It looks close to #8 but I don't think that's the same problem.
In my case, when I push many commits in a short time, the HEAD is no longer on my initial commit and comment-on-pr can't associate my commit with the HEAD.
Any ideas to solve it?
Maybe by adding an environment variable to set ref to use? Something provided Github Actions, like:
Hello, First of all, thank you for this action, it's useful!
I'm running it in my CI but I got an issue here: https://github.com/UnlyEd/next-right-now/runs/474616496 (section "Comment PR (Deployment success)") And got this error:
Couldn't find an open pull request for branch with head at 68cd1584010cc948222fb38ea56067020d8eacda.
It looks close to #8 but I don't think that's the same problem.In my case, when I push many commits in a short time, the HEAD is no longer on my initial commit and
comment-on-pr
can't associate my commit with the HEAD.Any ideas to solve it? Maybe by adding an environment variable to set ref to use? Something provided Github Actions, like:
Where
GITHUB_SHA
is the commit to use to find the pull request?Thank you!