gh-find-current-pr
gh-find-current-pr copied to clipboard
Action returns empty string, but PR exists
My workflow runs on push and open pr. When I do the very first push - steps.findPr.outputs.pr return an empty string - which is expected. When I open a PR from that branch - steps.findPr.outputs.pr returns PR number, which is also great. But when I push additional commits to the branch - steps.findPr.outputs.pr returns an empty string, even though PR has already been open from that branch. Any idea what could be wrong?
Oh I just realized, this this is probably the same issue that @auto-rajeevrahi reported
Same here
I don't have a ton of time to look into this right now, but this is a pretty simple action - if you want to supply a PR to fix this, I'm happy to merge it.
I'll try to find out the reason.. it's not stably reproduced