-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
tools: fix `GitHub actions status when CQ is empty #41193
Conversation
Review requested:
|
|
to avoid having to do a lot of
wdyt? Edit: bonus would be that the workflow graph would clearly show whether there were PRs to land or not. |
I love the idea, unfortunately there are no easy way to share the result between the two jobs (the only solution I found was to upload an artifact, not ideal, overkill for this use case). I've made the |
You can use outputs of a job in another. See https://github.com/zakodium/workflows/blob/main/.github/workflows/release.yml#L26-L54 |
388d216
to
2fb7aaf
Compare
This could use another review so I can land sooner. @Trott maybe you'd want to do that, since you are the one who reported the issue in #40985 (comment). |
Landed in 587b167 |
Now it looks like |
One drawback of the approach in this PR is there's now a race condition on the Auto-Start CI action (and probably the CQ too): #41388 From what I understand, this would happen when there are too many running jobs on the org that it starts to queue up, the |
Refs: #40985 (comment) PR-URL: #41193 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Refs: #40985 (comment) PR-URL: #41193 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Refs: nodejs#40985 (comment) PR-URL: nodejs#41193 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Refs: #40985 (comment) PR-URL: #41193 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Didn't have time to test it, I'm hoping this would solve the issue (and would also avoid pulling the repo if there are no PRs with
commit-queue
orrequest-ci
labels).Refs: #40985 (comment)