Github Checks: Race condition? #3202
Unanswered
hikouki-gumo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a CI workflow that trigger by:
When I open a new PR, then immediately add a label to the PR. In the actions list, it is showed two runs:
I also set up checks, to guarantee that PR must run CI successfully to be merged. But the checks stucked, it could not pass. It seems like checked is waiting status of Run_ID_1, which was canceled. While it should report status of Run_ID_2 and passed.
Why it happened and how to avoid this situation?
I guess I run into some kind of race condition. Here, Run_ID_1 should appear after Run_ID_2, because I open first, and then add label.
Beta Was this translation helpful? Give feedback.
All reactions