-
Notifications
You must be signed in to change notification settings - Fork 252
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
Does not update existing PR: A pull request already exists for #396
Comments
Cc @s0 |
Weirdly, I see pull requests to be updated just fine using the recent version, for example here. If we take a close look we can see a lone Line 382 in 50750fa
So the response the action got to this request was, indeed, an empty array - indicating that there are no open PRs there. How many do u have? Could you try to programmatically query the same thing as here and report what result do u get back? |
Is there any chance that there were multiple workflows being run concurrently that interfered? And what happens when you try to re-run the workflow run, is it consistently doing the same thing? Shot in the dark, but my current thoughts are:
One potential solution could be to just:
|
OTOH, if this is a race condition this might be a good thing that it fails. It lets the user to correct their |
Hi guys! Thanks for the answers. So to let you know, I reverted the action to this commit: aba318e
This successfully updated the existing PR
Tonight, I'll run
To see what the result is. |
@edouardr what were the results of your findings? |
Since the latest version (v1.4.8) I get an error when a changesets PR already exists.
see the output log
If we pay attention we can see that we have
creating pull request
instead ofupdating found pull request #A_NUMBER
.It seems this would have been introduced by this commit 48ab0d2, as we can see
[]
in the output just before.This would come from:
The text was updated successfully, but these errors were encountered: