Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action returns empty string, but PR exists #42

Open
YuriGal opened this issue Oct 28, 2022 · 4 comments
Open

Action returns empty string, but PR exists #42

YuriGal opened this issue Oct 28, 2022 · 4 comments

Comments

@YuriGal
Copy link

YuriGal commented Oct 28, 2022

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
Copy link
Author

YuriGal commented Oct 28, 2022

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

@bakwc
Copy link

bakwc commented Nov 14, 2022

Same here

@jwalton
Copy link
Owner

jwalton commented Nov 14, 2022

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.

@bakwc
Copy link

bakwc commented Nov 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants