actually, now I'm thinking it would be nice to instead of removing the if statement, change it to a switch, so depending on where the user run it, it will do the appropiate octokit API calls.
I forked the repo and I'm doing testings myself. if I get any progress I will post it here! (and eventually submit a PR) :)
hey! 👋
I wanted to add this action to my workflow and seems that is not running and I know why. but first let me explain my workflow:
on
pull_request
:this actions is the part 3, but it only runs on push, not pull requests: see the if statement here
My suggestion:
createCommitComment
is not the right method butoctokit.pulls.createComment
?actually, now I'm thinking it would be nice to instead of removing the if statement, change it to a switch, so depending on where the user run it, it will do the appropiate octokit API calls.
I forked the repo and I'm doing testings myself. if I get any progress I will post it here! (and eventually submit a PR) :)
thanks!