gh-find-current-pr icon indicating copy to clipboard operation
gh-find-current-pr copied to clipboard

Action returns empty string, but PR exists

Open YuriGal opened this issue 3 years ago • 4 comments

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?

YuriGal avatar Oct 28 '22 00:10 YuriGal

Oh I just realized, this this is probably the same issue that @auto-rajeevrahi reported

YuriGal avatar Oct 28 '22 00:10 YuriGal

Same here

bakwc avatar Nov 14 '22 16:11 bakwc

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.

jwalton avatar Nov 14 '22 16:11 jwalton

I'll try to find out the reason.. it's not stably reproduced

bakwc avatar Nov 14 '22 16:11 bakwc