diff --git a/.github/actions/label/build.js b/.github/actions/label/build.js index 3ac5906cd9e..9308115a223 100644 --- a/.github/actions/label/build.js +++ b/.github/actions/label/build.js @@ -28,11 +28,13 @@ const skip = async ({ github }) => { }); const runs = linux - ? check_runs.filter((run) => run.name === "build") + ? check_runs.filter((run) => run.name === "build" || run.name === "build / linux") : check_runs.filter((run) => run.name === "build / macox-x86"); if (runs.length === 0) return true; - if (runs[0].conclusion !== "skipped") return true; + for (run of runs) { + if (run.conclusion !== "skipped") return true; + } return false; };