-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
in_progress count check is zero breaks the actionflow #28
Comments
Thanks report, same problem happened in my workflow, I suppose that's a github api issue, but there is also a quick fix way, I'll change the default workflow later. |
Hi, @zhouzhuojie , Can you try with the latest script? I have pushed it. Just changed these lines. |
Yes, I think that may work (sorry didn't try yet), and it definitely depends on github's pagination and its implicit ordering, and it might not be efficient to query all the runs as it may return a list of all the previous workflows before. I fixed mine with
|
@zhouzhuojie Thanks the information! I don't know this Thanks again! |
Done. close #28 |
Description
Used to have this step from the default template setup, and
in_progress
suddenly reports0
a few days ago (without any code changes), and the filenameactionsflow.yml
stays the same. This breaks the following steps'if
conditions.Steps to reproduce
Steps mentioned above.
Possible solution
One possible solution: instead of checking the count of "in_progress", which might be unreliable due to how github defines it, a github action native feature
concurrency
may be helpful here:The text was updated successfully, but these errors were encountered: