tools: fix `GitHub actions status when CQ is empty#41193
tools: fix `GitHub actions status when CQ is empty#41193nodejs-github-bot merged 1 commit intonodejs:masterfrom
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-queueorrequest-cilabels).Refs: #40985 (comment)